rbrindley: branch rbrindley/astman_revamp r4559 - in /team/rbrindley/astman_r...

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Tue Mar 3 12:35:11 CST 2009


Author: rbrindley
Date: Tue Mar  3 12:35:08 2009
New Revision: 4559

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

- added if statement for top.session.log to init logging if true.
- log.init now uses top.session.DEBUG... instead of top.sessionData...
- fixed a ":" -> ";" syntax error
- included log.js in index.html
- moved tooltip.js include in better order


Modified:
    team/rbrindley/astman_revamp/config/index.html
    team/rbrindley/astman_revamp/config/js/index.js
    team/rbrindley/astman_revamp/config/js/log.js

Modified: team/rbrindley/astman_revamp/config/index.html
URL: http://svn.digium.com/svn-view/asterisk-gui/team/rbrindley/astman_revamp/config/index.html?view=diff&rev=4559&r1=4558&r2=4559
==============================================================================
--- team/rbrindley/astman_revamp/config/index.html (original)
+++ team/rbrindley/astman_revamp/config/index.html Tue Mar  3 12:35:08 2009
@@ -87,10 +87,11 @@
 
 </script>
 <script src="js/jquery.js"></script>
+<script src="js/tooltip.js"></script>
 <script src="js/astman.js"></script>
 <script src="js/pbx.js"></script>
+<script src="js/log.js"></script>
 <script src="js/index.js"></script>
-<script src="js/tooltip.js"></script>
 <head>
 	<title>Asterisk Configuration GUI</title>
 	<link rel="shortcut icon" href="images/favicon.ico" />

Modified: team/rbrindley/astman_revamp/config/js/index.js
URL: http://svn.digium.com/svn-view/asterisk-gui/team/rbrindley/astman_revamp/config/js/index.js?view=diff&rev=4559&r1=4558&r2=4559
==============================================================================
--- team/rbrindley/astman_revamp/config/js/index.js (original)
+++ team/rbrindley/astman_revamp/config/js/index.js Tue Mar  3 12:35:08 2009
@@ -1079,6 +1079,10 @@
 			miscFunctions.DEBUG_START();
 			$(".debugWindow").show();
 		}
+		if (top.session.log) {
+			log.init('blah');
+			$(".debugWindow").show();
+		}
 	};
 
 	ASTGUI.dialog.waitWhile(' Loading ...');

Modified: team/rbrindley/astman_revamp/config/js/log.js
URL: http://svn.digium.com/svn-view/asterisk-gui/team/rbrindley/astman_revamp/config/js/log.js?view=diff&rev=4559&r1=4558&r2=4559
==============================================================================
--- team/rbrindley/astman_revamp/config/js/log.js (original)
+++ team/rbrindley/astman_revamp/config/js/log.js Tue Mar  3 12:35:08 2009
@@ -128,7 +128,7 @@
  * @param html the jQuery selector or jQuery object storing mesgs
  */
 log.init = function(html) {
-	if (top.sessionData.DEBUG_PROFILER_BEGIN) {
+	if (top.session.DEBUG_PROFILER_BEGIN) {
 		return;
 	}
 
@@ -157,7 +157,7 @@
 			this.innerHTML = 'Hide debug messages';
 			this.className = 'dbw_flip_show';
 		}
-	}):
+	});
 
 	aaaaa();
 




More information about the asterisk-gui-commits mailing list