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