rename update() methods to updateFoo()
This commit is contained in:
parent
e477d4ee45
commit
9173042df4
3 changed files with 5 additions and 5 deletions
|
@ -62,7 +62,7 @@ pandora.ui.filterForm = function(list) {
|
||||||
} else {
|
} else {
|
||||||
Ox.Log('FIND', 'change form', data.query, pandora.user.ui.find)
|
Ox.Log('FIND', 'change form', data.query, pandora.user.ui.find)
|
||||||
pandora.UI.set({find: Ox.clone(data.query, true)});
|
pandora.UI.set({find: Ox.clone(data.query, true)});
|
||||||
pandora.$ui.findElement.update();
|
pandora.$ui.findElement.updateElement();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
|
@ -49,7 +49,7 @@ pandora.ui.findElement = function() {
|
||||||
.bindEvent({
|
.bindEvent({
|
||||||
change: function(data) {
|
change: function(data) {
|
||||||
if (data.value == 'advanced') {
|
if (data.value == 'advanced') {
|
||||||
that.update();
|
that.updateElement();
|
||||||
pandora.$ui.mainMenu.checkItem('findMenu_find_' + previousFindKey);
|
pandora.$ui.mainMenu.checkItem('findMenu_find_' + previousFindKey);
|
||||||
pandora.$ui.filterDialog = pandora.ui.filterDialog().open();
|
pandora.$ui.filterDialog = pandora.ui.filterDialog().open();
|
||||||
} else {
|
} else {
|
||||||
|
@ -82,7 +82,7 @@ pandora.ui.findElement = function() {
|
||||||
if (pandora.$ui.findSelect.value() == 'advanced') {
|
if (pandora.$ui.findSelect.value() == 'advanced') {
|
||||||
if (hasPressedClear) {
|
if (hasPressedClear) {
|
||||||
pandora.UI.set({find: pandora.site.user.ui.find});
|
pandora.UI.set({find: pandora.site.user.ui.find});
|
||||||
that.update();
|
that.updateElement();
|
||||||
hasPressedClear = false;
|
hasPressedClear = false;
|
||||||
}
|
}
|
||||||
pandora.$ui.findInput.blurInput();
|
pandora.$ui.findInput.blurInput();
|
||||||
|
@ -141,7 +141,7 @@ pandora.ui.findElement = function() {
|
||||||
}
|
}
|
||||||
} : null;
|
} : null;
|
||||||
}
|
}
|
||||||
that.update = function() {
|
that.updateElement = function() {
|
||||||
var findState = pandora.user.ui._findState;
|
var findState = pandora.user.ui._findState;
|
||||||
pandora.$ui.findSelect.value(findState.key);
|
pandora.$ui.findSelect.value(findState.key);
|
||||||
pandora.$ui.findInput.options(
|
pandora.$ui.findInput.options(
|
||||||
|
|
|
@ -1015,7 +1015,7 @@ pandora.resizeFolders = function() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!pandora.user.ui.showFolder[pandora.user.ui.section][id]) {
|
if (!pandora.user.ui.showFolder[pandora.user.ui.section][id]) {
|
||||||
pandora.$ui.folder[pos].update();
|
pandora.$ui.folder[pos].updatePanel();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue