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

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Tue Apr 21 15:01:56 CDT 2009


Author: rbrindley
Date: Tue Apr 21 15:01:52 2009
New Revision: 4755

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

- added support for project up dog


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=4755&r1=4754&r2=4755
==============================================================================
--- branches/2.0/config/index.html (original)
+++ branches/2.0/config/index.html Tue Apr 21 15:01:52 2009
@@ -28,6 +28,7 @@
 	finishedParsing : false,
 	PLATFORM: {
 		isAA50 : false, // AA50
+		isUpDog : false, //Project Up Dog
 		isABE : false, // Asterisk Business Edition
 		isOSA : false, // plain OpenSource Asterisk 
 		// also look at the 'detectPlatform' function below

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=4755&r1=4754&r2=4755
==============================================================================
--- branches/2.0/config/js/index.js (original)
+++ branches/2.0/config/js/index.js Tue Apr 21 15:01:52 2009
@@ -108,6 +108,9 @@
 				};
 			}
 			// ??
+		}else if (sessionData.PLATFORM.isUpDog) {
+			$('div[page="feditor.html"]').empty();
+			$('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-")  ){




More information about the asterisk-gui-commits mailing list