update user.ui key
This commit is contained in:
parent
7865ddd95a
commit
88550257c1
1 changed files with 3 additions and 4 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Reference in a new issue