espiceland: branch 2.0 r5146 - /branches/2.0/config/js/index.js

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Fri Jan 21 09:38:15 CST 2011


Author: espiceland
Date: Fri Jan 21 09:38:09 2011
New Revision: 5146

URL: http://svnview.digium.com/svn/asterisk-gui?view=rev&rev=5146
Log:
Treat Asterisk 1.8 like Asterisk 1.6 for now.

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

Modified: branches/2.0/config/js/index.js
URL: http://svnview.digium.com/svn/asterisk-gui/branches/2.0/config/js/index.js?view=diff&rev=5146&r1=5145&r2=5146
==============================================================================
--- branches/2.0/config/js/index.js (original)
+++ branches/2.0/config/js/index.js Fri Jan 21 09:38:09 2011
@@ -113,7 +113,9 @@
 			$('div[page="cli.html"]').empty();
 		}else{
 			var resp_lower = resp.toLowerCase();
-			if ( resp_lower.contains("branches/1.6")  || resp_lower.contains("asterisk/1.6") ||  resp_lower.contains("svn-branch-1.6") ||  resp_lower.contains("svn-trunk-")  ){
+			if ( resp_lower.contains("branches/1.6")  || resp_lower.contains("asterisk/1.6") ||  resp_lower.contains("svn-branch-1.6")
+					||  resp_lower.contains("svn-trunk-") || resp_lower.contains("branches/1.8")  || resp_lower.contains("asterisk/1.8") 
+					||  resp_lower.contains("svn-branch-1.8") ){
 				sessionData.PLATFORM.isAST_1_4 = false ;
 				sessionData.PLATFORM.isAST_1_6 = true ;
 				sessionData.PLATFORM.isAST_1_6_1 = resp_lower.contains('1.6.1') ? true : false;




More information about the asterisk-gui-commits mailing list