From: unknown Date: Mon, 3 Nov 2014 11:44:25 +0000 (+0000) Subject: few dialog fixes X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=cd1f09d07935e24316906afea4e3779f96aec8d5;p=civicrm-core.git few dialog fixes --- diff --git a/templates/CRM/Event/Form/ManageEvent/ConfirmRepeatMode.tpl b/templates/CRM/Event/Form/ManageEvent/ConfirmRepeatMode.tpl index aec4a7d912..9485469c00 100644 --- a/templates/CRM/Event/Form/ManageEvent/ConfirmRepeatMode.tpl +++ b/templates/CRM/Event/Form/ManageEvent/ConfirmRepeatMode.tpl @@ -116,13 +116,13 @@ url: ajaxurl, success: function (result) { if (result.status != "" && result.status == 'Done') { - $("#recurring-dialog").dialog('close'); $('#mainTabContainer div:visible Form, form.'+form).submit(); + $("#recurring-dialog").dialog('close'); } else if (result.status != "" && result.status == 'Error') { var errorBox = confirm(ts("Mode could not be updated, save only this event?")); if (errorBox == true) { - $("#recurring-dialog").dialog('close'); $('#mainTabContainer div:visible Form, form.'+form).submit(); + $("#recurring-dialog").dialog('close'); } else { $("#recurring-dialog").dialog('close'); return false;