user.ui.updateAdvancedFind -> user.ui.updateAdvancedFindResults

This commit is contained in:
rolux 2013-03-03 11:15:28 +00:00
parent 6cc0a74efc
commit b97ce25867
7 changed files with 14 additions and 13 deletions

View file

@ -778,7 +778,7 @@
"sidebarSize": 256,
"textPositions": {},
"theme": "oxdark",
"updateAdvancedFind": false,
"updateAdvancedFindResults": false,
"videoMuted": false,
"videoPoints": {},
"videoResolution": 96,

View file

@ -3,6 +3,7 @@
You can edit this file.
*/
{
"additionalSort": [
{"key": "director", "operator": "+"},
@ -796,7 +797,7 @@
"sidebarSize": 256,
"textPositions": {},
"theme": "oxmedium",
"updateAdvancedFind": false,
"updateAdvancedFindResults": false,
"videoMuted": false,
"videoPoints": {},
"videoResolution": 240,

View file

@ -700,7 +700,7 @@
"sidebarSize": 256,
"textPositions": {},
"theme": "oxlight",
"updateAdvancedFind": false,
"updateAdvancedFindResults": false,
"videoMuted": false,
"videoPoints": {},
"videoResolution": 240,

View file

@ -618,7 +618,7 @@
"showTimeline": true,
"sidebarSize": 256,
"theme": "oxmedium",
"updateAdvancedFind": false,
"updateAdvancedFindResults": false,
"videoMuted": false,
"videoPoints": {},
"videoResolution": 240,

View file

@ -35,7 +35,7 @@ pandora.ui.filterDialog = function(list) {
})
.reloadList();
});
} else if (!pandora.user.ui.updateAdvancedFind) {
} else if (!pandora.user.ui.updateAdvancedFindResults) {
pandora.$ui.filterForm.updateResults();
}
that.close();
@ -55,12 +55,12 @@ pandora.ui.filterDialog = function(list) {
$updateCheckbox = Ox.Checkbox({
title: 'Update Results in the Background',
value: pandora.user.ui.updateAdvancedFind
value: pandora.user.ui.updateAdvancedFindResults
})
.css({float: 'left', margin: '4px'})
.bindEvent({
change: function(data) {
pandora.UI.set({updateAdvancedFind: data.value});
pandora.UI.set({updateAdvancedFindResults: data.value});
data.value && pandora.$ui.filterForm.updateResults();
}
});

View file

@ -45,11 +45,11 @@ pandora.ui.filterForm = function(list) {
id: list.id,
query: data.query
}, function(result) {
if (pandora.user.ui.updateAdvancedFind) {
if (pandora.user.ui.updateAdvancedFindResults) {
that.updateResults(data.query);
}
});
} else if (pandora.user.ui.updateAdvancedFind) {
} else if (pandora.user.ui.updateAdvancedFindResults) {
that.updateResults();
}
that.triggerEvent('change', data);

View file

@ -49,7 +49,7 @@ pandora.ui.listDialog = function(section) {
if (
pandora.user.ui.section == 'items'
&& data.selected != 'query'
&& !pandora.user.ui.updateAdvancedFind
&& !pandora.user.ui.updateAdvancedFindResults
) {
pandora.$ui.filterForm.updateResults();
}
@ -107,7 +107,7 @@ pandora.ui.listDialog = function(section) {
click: function() {
if (
pandora.$ui.listDialogTabPanel.selected() == 'query'
&& !pandora.user.ui.updateAdvancedFind
&& !pandora.user.ui.updateAdvancedFindResults
) {
pandora.$ui.filterForm.updateResults();
}
@ -129,13 +129,13 @@ pandora.ui.listDialog = function(section) {
$updateCheckbox = Ox.Checkbox({
title: 'Update Results in the Background',
value: pandora.user.ui.updateAdvancedFind
value: pandora.user.ui.updateAdvancedFindResults
})
.css({float: 'left', margin: '4px'})
[section == 'query' ? 'show' : 'hide']()
.bindEvent({
change: function(data) {
pandora.UI.set({updateAdvancedFind: data.value});
pandora.UI.set({updateAdvancedFindResults: data.value});
data.value && pandora.$ui.filterForm.updateResults();
}
});