Allow submit for cascade type popup box
authorunknown <priyanka.karan26@gmail.com>
Thu, 4 Sep 2014 17:17:04 +0000 (18:17 +0100)
committerdeepak-srivastava <deepak.srivastava.0303@gmail.com>
Fri, 3 Oct 2014 08:55:15 +0000 (09:55 +0100)
templates/CRM/Event/Form/ConfirmSubmit.tpl

index 3275b651b14d9e680646fbaa767ec0b30168375a..531d7cd5e2dcd9871ea1a7bc8929b30fecbc7ab1 100644 (file)
@@ -91,6 +91,9 @@
                       url:  ajaxurl,
                       success: function (result) {
                           cj("#dialog").dialog('close');
+                          if(saveButtonID != ""){
+                            cj('#'+saveButtonID).closest('form').submit();
+                          }
                       }
                     });
                 }