update user pages
This commit is contained in:
parent
1e4a9af13a
commit
ef7cd8f80c
11 changed files with 107 additions and 119 deletions
|
@ -16,12 +16,12 @@
|
|||
},
|
||||
"devDependencies": {},
|
||||
"ignore": [],
|
||||
"version": "1.2.6",
|
||||
"_release": "1.2.6",
|
||||
"version": "1.2.8",
|
||||
"_release": "1.2.8",
|
||||
"_resolution": {
|
||||
"type": "version",
|
||||
"tag": "1.2.6",
|
||||
"commit": "fe1b3e3069c875bb54cfede60ee94f8b8f876c90"
|
||||
"tag": "1.2.8",
|
||||
"commit": "ab69b1f6c75888a55b4baa100f2d3c527633bf49"
|
||||
},
|
||||
"_source": "https://github.com/MediaBrowser/emby-webcomponents.git",
|
||||
"_target": "^1.2.0",
|
||||
|
|
|
@ -457,6 +457,12 @@ define([], function () {
|
|||
return result;
|
||||
}
|
||||
|
||||
function sendText(text) {
|
||||
var elem = document.activeElement;
|
||||
|
||||
elem.value = text;
|
||||
}
|
||||
|
||||
return {
|
||||
autoFocus: autoFocus,
|
||||
focus: focus,
|
||||
|
@ -473,6 +479,7 @@ define([], function () {
|
|||
},
|
||||
moveDown: function (sourceElement) {
|
||||
nav(sourceElement, 3);
|
||||
}
|
||||
},
|
||||
sendText: sendText
|
||||
};
|
||||
});
|
|
@ -1,4 +1,4 @@
|
|||
define(['connectionManager', 'playbackManager', 'events', 'inputManager'], function (connectionManager, playbackManager, events, inputManager) {
|
||||
define(['connectionManager', 'playbackManager', 'events', 'inputManager', 'focusManager'], function (connectionManager, playbackManager, events, inputManager, focusManager) {
|
||||
|
||||
function displayMessage(cmd) {
|
||||
|
||||
|
@ -115,6 +115,7 @@ define(['connectionManager', 'playbackManager', 'events', 'inputManager'], funct
|
|||
break;
|
||||
case 'SendString':
|
||||
// todo
|
||||
focusManager.sendText(cmd.Arguments.String);
|
||||
break;
|
||||
default:
|
||||
console.log('processGeneralCommand does not recognize: ' + cmd.Name);
|
||||
|
|
|
@ -15,6 +15,9 @@ define(['loading', 'viewManager', 'skinManager', 'pluginManager', 'backdrop', 'b
|
|||
},
|
||||
showSettings: function () {
|
||||
show('/settings/settings.html');
|
||||
},
|
||||
showSearch: function () {
|
||||
skinManager.getCurrentSkin().search();
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue