Ox.UI.elements -> Ox.elements

This commit is contained in:
rolux 2014-09-23 11:44:41 +02:00
parent f6d95265a6
commit 55f84fb7f4
3 changed files with 3 additions and 3 deletions

View file

@ -22,7 +22,7 @@ pandora.ui.editPanel = function(isEmbed) {
function enableDragAndDrop() {
pandora.enableDragAndDrop(
Ox.UI.elements[that.find('.OxIconList').data('oxid')],
Ox.elements[that.find('.OxIconList').data('oxid')],
edit.editable
);
}

View file

@ -567,7 +567,7 @@ pandora.ui.home = function() {
key = Ox.KEYS[e.keyCode];
if (
focused === null
|| !Ox.UI.elements[focused].hasClass('OxInput')
|| !Ox.elements[focused].hasClass('OxInput')
) {
if (key == 'left' && selected > 0) {
selectItem(selected - 1);

View file

@ -539,7 +539,7 @@ pandora.ui.home = function() {
key = Ox.KEYS[e.keyCode];
if (
focused === null
|| !Ox.UI.elements[focused].hasClass('OxInput')
|| !Ox.elements[focused].hasClass('OxInput')
) {
if (key == 'left' && selected > 0) {
selectItem(selected - 1);