Skip to content

Commit

Permalink
Fix menu
Browse files Browse the repository at this point in the history
  • Loading branch information
e-alfred committed Jun 19, 2019
1 parent 224235d commit 5799431
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,15 +97,15 @@ var ScannerMenuPlugin = {
if (callback !== undefined) {
callback(false, plugin.formArrayToObject($('form', $dlg).serializeArray()));
}
$(dialogId).ocdialog(t('scanner', 'close'));
$(dialogId).ocdialog('close');
}
}, {
text: t('scanner', 'Yes'),
click: function () {
if (callback !== undefined) {
callback(true, plugin.formArrayToObject($('form', $dlg).serializeArray()));
}
$(dialogId).ocdialog(t('scanner', 'close'));
$(dialogId).ocdialog('close');
},
defaultButton: true
}
Expand Down

0 comments on commit 5799431

Please sign in to comment.