pari: trunk r796 - /trunk/config/setup/5.html

asterisk-gui-commits at lists.digium.com asterisk-gui-commits at lists.digium.com
Fri Apr 27 09:31:18 MST 2007


Author: pari
Date: Fri Apr 27 11:31:17 2007
New Revision: 796

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=796
Log:
Critical bug fix: [1] add_rule_fromeditform only after oncomplete of delete_callingrule [2] do not reload while something else has to be done ! hah. 

Modified:
    trunk/config/setup/5.html

Modified: trunk/config/setup/5.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/setup/5.html?view=diff&rev=796&r1=795&r2=796
==============================================================================
--- trunk/config/setup/5.html (original)
+++ trunk/config/setup/5.html Fri Apr 27 11:31:17 2007
@@ -441,9 +441,9 @@
 	 }else{	// update exiting rule
 		// delete existing rule
 		// add rule with new values
-		delete_callingrule(pattern_beingedited,pattern_beingedited_priority, oncomplete = function(){location.reload();} );
+		delete_callingrule(pattern_beingedited,pattern_beingedited_priority, oncomplete = function(){
 		add_rule_fromeditform( pattern_beingedited_priority, oncomplete = function(){location.reload();} );
-
+		});
 		//$('userscontent').style.display='none';
 		//$('addrule').disabled =0;
 		//return true;



More information about the asterisk-gui-commits mailing list