forked from 0x2620/pandora
filterForm: query -> value
This commit is contained in:
parent
f67f9955df
commit
579545ea3d
1 changed files with 4 additions and 4 deletions
|
@ -73,10 +73,10 @@ pandora.ui.filterForm = function(options) {
|
||||||
if (pandora.user.ui.section == 'edits') {
|
if (pandora.user.ui.section == 'edits') {
|
||||||
pandora.$ui.folderList[
|
pandora.$ui.folderList[
|
||||||
pandora.getListData().folder
|
pandora.getListData().folder
|
||||||
].value(list.id, 'query', that.$filter.options('query'));
|
].value(list.id, 'query', that.$filter.options('value'));
|
||||||
pandora.api.editEdit({
|
pandora.api.editEdit({
|
||||||
id: list.id,
|
id: list.id,
|
||||||
query: that.$filter.options('query')
|
query: that.$filter.options('value')
|
||||||
}, function(result) {
|
}, function(result) {
|
||||||
pandora.$ui.editPanel.updatePanel();
|
pandora.$ui.editPanel.updatePanel();
|
||||||
});
|
});
|
||||||
|
@ -85,7 +85,7 @@ pandora.ui.filterForm = function(options) {
|
||||||
init: function(data) {
|
init: function(data) {
|
||||||
pandora.$ui.folderList[
|
pandora.$ui.folderList[
|
||||||
pandora.getListData().folder
|
pandora.getListData().folder
|
||||||
].value(list.id, 'query', that.$filter.options('query'));
|
].value(list.id, 'query', that.$filter.options('value'));
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.reloadList();
|
.reloadList();
|
||||||
|
@ -94,7 +94,7 @@ pandora.ui.filterForm = function(options) {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
pandora.UI.set({find: Ox.clone(that.$filter.options('query'), true)});
|
pandora.UI.set({find: Ox.clone(that.$filter.options('value'), true)});
|
||||||
pandora.$ui.findElement.updateElement();
|
pandora.$ui.findElement.updateElement();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue