pari: branch 2.0 r4298 - /branches/2.0/config/js/preferences.js

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Fri Dec 5 12:34:36 CST 2008


Author: pari
Date: Fri Dec  5 12:34:35 2008
New Revision: 4298

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

 isAA50_OEM 


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

Modified: branches/2.0/config/js/preferences.js
URL: http://svn.digium.com/view/asterisk-gui/branches/2.0/config/js/preferences.js?view=diff&rev=4298&r1=4297&r2=4298
==============================================================================
--- branches/2.0/config/js/preferences.js (original)
+++ branches/2.0/config/js/preferences.js Fri Dec  5 12:34:35 2008
@@ -32,7 +32,7 @@
 
 function localajaxinit(){
 	top.document.title = "General Preferences" ;
-	if( parent.sessionData.PLATFORM.isAST_1_6 || parent.sessionData.PLATFORM.isAA50 || parent.sessionData.PLATFORM.isABE ){
+	if( (parent.sessionData.PLATFORM.isAST_1_6 || parent.sessionData.PLATFORM.isAA50 || parent.sessionData.PLATFORM.isABE) && !parent.sessionData.PLATFORM.isAA50_OEM ){
 		$('.16_Only').show();
 		(function(){
 			var c = config2json( { filename: 'phoneprov.conf' , usf: 0 } );
@@ -181,7 +181,7 @@
 		u.new_action('append', 'default', 'exten', 'o,1,' + ASTGUI.getFieldValue(DOM_op_ext) );
 	u.callActions();
 
-	if( parent.sessionData.PLATFORM.isAST_1_6 || parent.sessionData.PLATFORM.isAA50 || parent.sessionData.PLATFORM.isABE ){
+	if( (parent.sessionData.PLATFORM.isAST_1_6 || parent.sessionData.PLATFORM.isAA50 || parent.sessionData.PLATFORM.isABE) && !parent.sessionData.PLATFORM.isAA50_OEM ){
 		u.clearActions('phoneprov.conf');
 		u.new_action('delete', 'polycom', 'setvar','', 'IDLEIMAGE_ACTIVE=1' );
 		u.new_action('delete', 'polycom', 'setvar','', 'IDLEIMAGE_ACTIVE=0' );




More information about the asterisk-gui-commits mailing list