From 88550257c1558dbfd9224ca0491ede0e89df04de Mon Sep 17 00:00:00 2001 From: rlx Date: Tue, 12 Jan 2016 10:15:13 +0530 Subject: [PATCH] update user.ui key --- static/js/findDialog.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/static/js/findDialog.js b/static/js/findDialog.js index 9b23736..393f2cf 100644 --- a/static/js/findDialog.js +++ b/static/js/findDialog.js @@ -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(); } });