update user.ui key

This commit is contained in:
rlx 2016-01-12 10:15:13 +05:30
parent 7865ddd95a
commit 88550257c1

View file

@ -24,8 +24,7 @@ oml.ui.findDialog = function() {
}) })
], ],
closeButton: true, closeButton: true,
content: oml.$ui.findForm = oml.ui.findForm() content: oml.$ui.findForm = oml.ui.findForm().css({margin: '16px'}),
.css({margin: '16px'}),
fixedSize: true, fixedSize: true,
height: 264, height: 264,
removeOnClose: true, removeOnClose: true,
@ -35,7 +34,7 @@ oml.ui.findDialog = function() {
$updateCheckbox = Ox.Checkbox({ $updateCheckbox = Ox.Checkbox({
title: Ox._('Update Results in the Background'), title: Ox._('Update Results in the Background'),
value: oml.user.ui.updateAdvancedFindResults value: oml.user.ui.updateResults
}) })
.css({ .css({
float: 'left', float: 'left',
@ -43,7 +42,7 @@ oml.ui.findDialog = function() {
}) })
.bindEvent({ .bindEvent({
change: function(data) { change: function(data) {
oml.UI.set({updateAdvancedFindResults: data.value}); oml.UI.set({updateResults: data.value});
//data.value && oml.$ui.findForm.updateResults(); //data.value && oml.$ui.findForm.updateResults();
} }
}); });