rbrindley: branch rbrindley/astman_revamp r4553 - /team/rbrindley/astman_reva...

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Tue Mar 3 08:14:43 CST 2009


Author: rbrindley
Date: Tue Mar  3 08:14:39 2009
New Revision: 4553

URL: http://svn.digium.com/svn-view/asterisk-gui?view=rev&rev=4553
Log:

- included function name in error messages


Modified:
    team/rbrindley/astman_revamp/config/js/astman2.js

Modified: team/rbrindley/astman_revamp/config/js/astman2.js
URL: http://svn.digium.com/svn-view/asterisk-gui/team/rbrindley/astman_revamp/config/js/astman2.js?view=diff&rev=4553&r1=4552&r2=4553
==============================================================================
--- team/rbrindley/astman_revamp/config/js/astman2.js (original)
+++ team/rbrindley/astman_revamp/config/js/astman2.js Tue Mar  3 08:14:39 2009
@@ -172,11 +172,11 @@
  */
 astman.cliCommand = function(cmd) {
 	if (typeof cmd !== 'string') {
-		log.warn('cliComannd: Expecting cmd as String');
+		log.warn('cliCommand: Expecting cmd as String');
 		return '';
 	}
 
-	log.debug('Executing manager command: "' + cmd + '"');
+	log.debug('cliCommand: Executing manager command: "' + cmd + '"');
 	return this.makeSyncRequest( {action: 'command', command: cmd });
 };
 
@@ -188,11 +188,11 @@
  */
 astman.makeSyncRequest = function(params) {
 	if (top.session && top.session.debug_mode) {
-		log.ajax('AJAX Request: "' + params.getProperties() + '"');
+		log.ajax('makeSyncRequest: AJAX Request: "' + params.getProperties() + '"');
 	}
 
 	if (typeof params !== 'object') {
-		log.error('astman.makeSyncRequest: Expecting params to be an object.');
+		log.error('makeSyncRequest: Expecting params to be an object.');
 		return '';
 	}
 




More information about the asterisk-gui-commits mailing list