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(); } });