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

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Thu Mar 12 11:59:54 CDT 2009


Author: rbrindley
Date: Thu Mar 12 11:59:51 2009
New Revision: 4629

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

- moved delimiter checker to inside the loadGUI func as isAST_1_6 wasn't defined before then


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

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=4629&r1=4628&r2=4629
==============================================================================
--- team/rbrindley/astman_revamp/config/js/index.js (original)
+++ team/rbrindley/astman_revamp/config/js/index.js Thu Mar 12 11:59:51 2009
@@ -1042,14 +1042,6 @@
 		}catch(err){}
 	}
 
-        /* unfortunately, there are certain cases in 1.4 where
-         * both commas and pipes aren't supported, such as when
-         * doing time intervals for includes :-/
-         * */
-        if (!sessionData.PLATFORM.isAST_1_6) {
-                top.session.delimiter = '|';
-        }
-
 	var loadGUI = function(){
 		DOM_accordion_div = _$('accordion_div');
 		DOM_mainscreen = _$('mainscreen');
@@ -1093,6 +1085,14 @@
 			$(".debugWindow").show();
 			sessionData.DEBUG_MODE = true;
 		}
+
+		/* unfortunately, there are certain cases in 1.4 where
+		 * both commas and pipes aren't supported, such as when
+		 * doing time intervals for includes :-/
+		 * */
+		if (!sessionData.PLATFORM.isAST_1_6) {
+			top.session.delimiter = '|';
+		}
 	};
 
 	ASTGUI.dialog.waitWhile(' Loading ...');




More information about the asterisk-gui-commits mailing list