pari: branch 2.0 r3966 - /branches/2.0/config/js/astman.js

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Fri Oct 17 12:14:44 CDT 2008


Author: pari
Date: Fri Oct 17 12:14:43 2008
New Revision: 3966

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

New API function for Firebug debug messages : ASTGUI.FirebugLog()



Modified:
    branches/2.0/config/js/astman.js

Modified: branches/2.0/config/js/astman.js
URL: http://svn.digium.com/view/asterisk-gui/branches/2.0/config/js/astman.js?view=diff&rev=3966&r1=3965&r2=3966
==============================================================================
--- branches/2.0/config/js/astman.js (original)
+++ branches/2.0/config/js/astman.js Fri Oct 17 12:14:43 2008
@@ -1061,6 +1061,11 @@
 		}else{
 			ASTGUI.debugLog( '<B>' + Code + '</B>' , '#990033' );
 		}
+	},
+
+	FirebugLog: function( msg ){ // ASTGUI.FirebugLog( object );
+		if( !(window.console && window.console.firebug) )return;
+		console.log ( msg ) ;
 	},
 
 	feedback : function( fb ){




More information about the asterisk-gui-commits mailing list