rbrindley: branch 2.0 r4561 - in /branches/2.0/config: index.html js/index.js

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


Author: rbrindley
Date: Wed Mar  4 09:22:25 2009
New Revision: 4561

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

- default top.session.log is now false
- loadGUI now sets both top.session.log or sessionData.DEBUG_MODE to true if either are true


Modified:
    branches/2.0/config/index.html
    branches/2.0/config/js/index.js

Modified: branches/2.0/config/index.html
URL: http://svn.digium.com/svn-view/asterisk-gui/branches/2.0/config/index.html?view=diff&rev=4561&r1=4560&r2=4561
==============================================================================
--- branches/2.0/config/index.html (original)
+++ branches/2.0/config/index.html Wed Mar  4 09:22:25 2009
@@ -329,7 +329,7 @@
 <script>
 	var session = {
 		debug_log: [],
-		log: true,
+		log: false,
 		log_modes: {
 			ajax: true,
 			console: true,

Modified: branches/2.0/config/js/index.js
URL: http://svn.digium.com/svn-view/asterisk-gui/branches/2.0/config/js/index.js?view=diff&rev=4561&r1=4560&r2=4561
==============================================================================
--- branches/2.0/config/js/index.js (original)
+++ branches/2.0/config/js/index.js Wed Mar  4 09:22:25 2009
@@ -1078,10 +1078,12 @@
 		if(sessionData.DEBUG_MODE){
 			miscFunctions.DEBUG_START();
 			$(".debugWindow").show();
+			top.session.log = true;
 		}
 		if (top.session.log) {
 			log.init('blah');
 			$(".debugWindow").show();
+			sessionData.DEBUG_MODE = true;
 		}
 	};
 




More information about the asterisk-gui-commits mailing list