bkruse: trunk r860 - in /trunk/config: cli.html scripts/astman.js

asterisk-gui-commits at lists.digium.com asterisk-gui-commits at lists.digium.com
Thu May 3 09:46:39 MST 2007


Author: bkruse
Date: Thu May  3 11:46:38 2007
New Revision: 860

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=860
Log:
Change run_cmd to cliCommand to stay with the naming convention we have. Awesome job pari

Modified:
    trunk/config/cli.html
    trunk/config/scripts/astman.js

Modified: trunk/config/cli.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/cli.html?view=diff&rev=860&r1=859&r2=860
==============================================================================
--- trunk/config/cli.html (original)
+++ trunk/config/cli.html Thu May  3 11:46:38 2007
@@ -37,7 +37,7 @@
 }
 
 function executeCommand(cmd){
-	parent.astmanEngine.run_cmd(cmd, gotResponse);
+	parent.astmanEngine.cliCommand(cmd, gotResponse);
 }
 
 function gotResponse(op){

Modified: trunk/config/scripts/astman.js
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/scripts/astman.js?view=diff&rev=860&r1=859&r2=860
==============================================================================
--- trunk/config/scripts/astman.js (original)
+++ trunk/config/scripts/astman.js Thu May  3 11:46:38 2007
@@ -1048,7 +1048,7 @@
 		tmp = new Ajax.Request(this.url, opt);
 	}
 
-	this.run_cmd = function(cmd, callback) {
+	this.cliCommand = function(cmd, callback) {
 		var opt = {
 			method: 'get',
 			asynchronous: true,



More information about the asterisk-gui-commits mailing list