pari: branch 2.0 r4297 - in /branches/2.0/config: ./ js/

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


Author: pari
Date: Fri Dec  5 12:31:35 2008
New Revision: 4297

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

 honor OEM mode on AA50


Modified:
    branches/2.0/config/flashupdate.html
    branches/2.0/config/js/flashupdate.js
    branches/2.0/config/js/networking.js
    branches/2.0/config/networking.html

Modified: branches/2.0/config/flashupdate.html
URL: http://svn.digium.com/view/asterisk-gui/branches/2.0/config/flashupdate.html?view=diff&rev=4297&r1=4296&r2=4297
==============================================================================
--- branches/2.0/config/flashupdate.html (original)
+++ branches/2.0/config/flashupdate.html Fri Dec  5 12:31:35 2008
@@ -32,7 +32,7 @@
 	<td align=center style='padding-top:30px;'>
 		<span id='span_current_fwversion'></span>
 		<span id='check_forNewFirmwareVersions_button' style='display:none' class='guiButton' onclick='check_forNewFirmwareVersions()'> Check for new Firmware versions </span>
-		<div><A href='update_phonefirmware.html'>Update Polycom firmware</A></div>
+		<div id="UpdatePolycomFirmware" style="display:none"><A href='update_phonefirmware.html'>Update Polycom firmware</A></div>
 	</td>
 </tr>
 <tr>

Modified: branches/2.0/config/js/flashupdate.js
URL: http://svn.digium.com/view/asterisk-gui/branches/2.0/config/js/flashupdate.js?view=diff&rev=4297&r1=4296&r2=4297
==============================================================================
--- branches/2.0/config/js/flashupdate.js (original)
+++ branches/2.0/config/js/flashupdate.js Fri Dec  5 12:31:35 2008
@@ -175,6 +175,7 @@
 			$("#overlayUpload_TR").show();
 		}
 		if(!parent.sessionData.PLATFORM.isAA50_OEM ){
+			$('#UpdatePolycomFirmware').show();
 			ASTGUI.systemCmdWithOutput( 'firmware_version' , function(a){
 				current_version = a.trim();
 				_$('span_current_fwversion').innerHTML = '<B> Current Firmware version : ' + current_version + '&nbsp;&nbsp;</B>';

Modified: branches/2.0/config/js/networking.js
URL: http://svn.digium.com/view/asterisk-gui/branches/2.0/config/js/networking.js?view=diff&rev=4297&r1=4296&r2=4297
==============================================================================
--- branches/2.0/config/js/networking.js (original)
+++ branches/2.0/config/js/networking.js Fri Dec  5 12:31:35 2008
@@ -117,7 +117,9 @@
 function localajaxinit() {
 	top.document.title = 'Network Settings' ;
 	parent.ASTGUI.dialog.waitWhile('Loading Information ...');
-
+	if(!parent.sessionData.PLATFORM.isAA50_OEM ){
+		$('#URLforPolycom').show();
+	}
 	var t = [
 		{url:'#', desc:'General', click_function: function(){ $('#general_div').show(); $('#lan_div').hide(); $('#wan_div').hide(); }  } ,
 		{url:'#', desc:'WAN', click_function: function(){ $('#general_div').hide(); $('#lan_div').hide(); $('#wan_div').show(); } },

Modified: branches/2.0/config/networking.html
URL: http://svn.digium.com/view/asterisk-gui/branches/2.0/config/networking.html?view=diff&rev=4297&r1=4296&r2=4297
==============================================================================
--- branches/2.0/config/networking.html (original)
+++ branches/2.0/config/networking.html Fri Dec  5 12:31:35 2008
@@ -50,7 +50,7 @@
 			<TR>	<TD height=20></TD>
 				<TD></TD>
 			</TR>
-			<TR>
+			<TR id="URLforPolycom" style="display:none">
 				<TD valign="top" align="right">URL for Polycom <BR> auto provisioning:</TD>
 				<TD>	<input type="text" id='TFTP_LAN' size=24></TD>
 			</TR>




More information about the asterisk-gui-commits mailing list