rename update() methods to updateFoo()

This commit is contained in:
rolux 2012-05-28 17:52:11 +02:00
parent e477d4ee45
commit 9173042df4
3 changed files with 5 additions and 5 deletions

View file

@ -62,7 +62,7 @@ pandora.ui.filterForm = function(list) {
} else {
Ox.Log('FIND', 'change form', data.query, pandora.user.ui.find)
pandora.UI.set({find: Ox.clone(data.query, true)});
pandora.$ui.findElement.update();
pandora.$ui.findElement.updateElement();
}
}
})

View file

@ -49,7 +49,7 @@ pandora.ui.findElement = function() {
.bindEvent({
change: function(data) {
if (data.value == 'advanced') {
that.update();
that.updateElement();
pandora.$ui.mainMenu.checkItem('findMenu_find_' + previousFindKey);
pandora.$ui.filterDialog = pandora.ui.filterDialog().open();
} else {
@ -82,7 +82,7 @@ pandora.ui.findElement = function() {
if (pandora.$ui.findSelect.value() == 'advanced') {
if (hasPressedClear) {
pandora.UI.set({find: pandora.site.user.ui.find});
that.update();
that.updateElement();
hasPressedClear = false;
}
pandora.$ui.findInput.blurInput();
@ -141,7 +141,7 @@ pandora.ui.findElement = function() {
}
} : null;
}
that.update = function() {
that.updateElement = function() {
var findState = pandora.user.ui._findState;
pandora.$ui.findSelect.value(findState.key);
pandora.$ui.findInput.options(

View file

@ -1015,7 +1015,7 @@ pandora.resizeFolders = function() {
}
}
if (!pandora.user.ui.showFolder[pandora.user.ui.section][id]) {
pandora.$ui.folder[pos].update();
pandora.$ui.folder[pos].updatePanel();
}
});
};