Commit 13352654 authored by Gabriel Monnerat's avatar Gabriel Monnerat

erp5_document_scanner: Clean up

parent abe39f9f
......@@ -369,7 +369,7 @@
cropper.destroy();
})
.push(function () {
return gadget.submitDialogWithCustomDialogMethod(false, dialogMethod);
return gadget.submitDialogWithCustomDialogMethod(dialogMethod);
})
.push(function () {
pageNumber = pageNumber + 1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment