[FIX] Module 'support_branding' - Close the CrashManager dialog after pushing the 'Send to' button

pull/165/head
sebalix 2015-07-03 19:51:42 +02:00
parent e3b42a5c62
commit a6845510a9
1 changed files with 2 additions and 2 deletions

View File

@ -121,8 +121,8 @@ openerp.support_branding = function(instance) {
}) })
.then(function() .then(function()
{ {
//TODO close the dialog $form.parents('.ui-dialog').dialog().dialog("close");
$form.parents('.ui-dialog').hide(); $('.ui-widget-overlay').hide()
}); });
ev.preventDefault(); ev.preventDefault();
}); });