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

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Wed Mar 4 09:40:23 CST 2009


Author: rbrindley
Date: Wed Mar  4 09:40:19 2009
New Revision: 4563

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

- moving pbx.js over to new logging functions


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

Modified: team/rbrindley/astman_revamp/config/js/pbx.js
URL: http://svn.digium.com/svn-view/asterisk-gui/team/rbrindley/astman_revamp/config/js/pbx.js?view=diff&rev=4563&r1=4562&r2=4563
==============================================================================
--- team/rbrindley/astman_revamp/config/js/pbx.js (original)
+++ team/rbrindley/astman_revamp/config/js/pbx.js Wed Mar  4 09:40:19 2009
@@ -226,7 +226,7 @@
 	}, // end of readcfg.checkEssentials();
 
 	guiPreferencesConf: function(){ //readcfg.guiPreferencesConf();
-		ASTGUI.Log.Ajax("AJAX Request : reading '" +  ASTGUI.globals.configfile + "'");
+		top.log.ajax("AJAX Request : reading '" +  ASTGUI.globals.configfile + "'");
 		var s = $.ajax({ url: ASTGUI.paths.rawman+'?action=getconfig&filename=' + ASTGUI.globals.configfile , async: false }).responseText;
 		if( s.contains('Response: Error') && s.contains('Message: Config file not found') ){
 			sessionData.continueParsing = false ;
@@ -369,7 +369,7 @@
 				// sessionData.pbxinfo['timebasedRules'][d] = astgui_manageTimeBasedRules.parseContext( d , c[d] );
 			}
 		}}
-		ASTGUI.Log.Debug('parsed all contexts in extensions.conf');
+		top.log.debug('parsed all contexts in extensions.conf');
 		(function(){ // parse voicemenu extensions
 			var vm = c[ASTGUI.contexts.VoiceMenuExtensions] ;
 			var vm_default = c['default'] ; // Backward compatibility for old GUI
@@ -1440,7 +1440,7 @@
 				}
 			});
 		}catch(err){
-			ASTGUI.Log.Debug('Error Parsing VoiceMenu');
+			top.log.debug('Error Parsing VoiceMenu');
 		}finally{
 			return ASTGUI.toCustomObject(vm);
 		}




More information about the asterisk-gui-commits mailing list