bkruse: branch bkruse/dahdi_integration r3997 - in /team/bkruse/dahdi_integra...

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Tue Oct 21 16:31:22 CDT 2008


Author: bkruse
Date: Tue Oct 21 16:31:21 2008
New Revision: 3997

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=3997
Log:
1.6 by default for testing.
Run dahdi_scan on login.

Modified:
    team/bkruse/dahdi_integration/config/index.html
    team/bkruse/dahdi_integration/config/js/index.js

Modified: team/bkruse/dahdi_integration/config/index.html
URL: http://svn.digium.com/view/asterisk-gui/team/bkruse/dahdi_integration/config/index.html?view=diff&rev=3997&r1=3996&r2=3997
==============================================================================
--- team/bkruse/dahdi_integration/config/index.html (original)
+++ team/bkruse/dahdi_integration/config/index.html Tue Oct 21 16:31:21 2008
@@ -34,8 +34,8 @@
 		isAA50_OEM : false, // sessionData.PLATFORM.isAA50_OEM
 		AA50_SKU : '', // sessionData.PLATFORM.AA50_SKU
 		isANOW : false, // Asterisk Now
-		isAST_1_4 : true, // we assume is Asterisk 1.4 by default, sessionData.PLATFORM.isAST_1_4
-		isAST_1_6 : false
+		isAST_1_4 : false, // we assume is Asterisk 1.4 by default, sessionData.PLATFORM.isAST_1_4
+		isAST_1_6 : true 
 	},
 
 	AsteriskVersionString : '',

Modified: team/bkruse/dahdi_integration/config/js/index.js
URL: http://svn.digium.com/view/asterisk-gui/team/bkruse/dahdi_integration/config/js/index.js?view=diff&rev=3997&r1=3996&r2=3997
==============================================================================
--- team/bkruse/dahdi_integration/config/js/index.js (original)
+++ team/bkruse/dahdi_integration/config/js/index.js Tue Oct 21 16:31:21 2008
@@ -376,7 +376,11 @@
 		var cb = function(){
 			onLogInFunctions.updatePanels4Platform();
 		};
-		ASTGUI.systemCmd(ASTGUI.apps.Ztscan, cb);
+		if (parent.sessionData.PLATFORM.isAST_1_6) {
+			ASTGUI.systemCmd(ASTGUI.apps.Dahdiscan, cb);
+		} else {
+			ASTGUI.systemCmd(ASTGUI.apps.Ztscan, cb);
+		}
 	},
 
 




More information about the asterisk-gui-commits mailing list