Browse Source

Support for some (optional) feedback during submit.

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@3456 a333f486-631f-4898-b8df-5754b55c2be0
dflaven 10 years ago
parent
commit
8419111e46
1 changed files with 4 additions and 0 deletions
  1. 4 0
      application/forms.class.inc.php

+ 4 - 0
application/forms.class.inc.php

@@ -358,6 +358,10 @@ $('#$sDialogId').dialog({
 		{ text: "$sOkButtonLabel", click: function() {
 			var oForm = $(this).closest('.ui-dialog').find('form');
 			oForm.submit();
+			if (AnimateDlgButtons)
+			{
+				AnimateDlgButtons(this);
+			}
 		} },
 		{ text: "$sCancelButtonLabel", click: function() { KillAllMenus(); $(this).dialog( "close" ); $(this).remove(); } },
 		],