pari: branch 2.0 r3703 - /branches/2.0/config/misdn.html
    SVN commits to the Asterisk-GUI project 
    asterisk-gui-commits at lists.digium.com
       
    Mon Aug 25 10:35:59 CDT 2008
    
    
  
Author: pari
Date: Mon Aug 25 10:35:59 2008
New Revision: 3703
URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=3703
Log:
 minor improvements to misdn page
Modified:
    branches/2.0/config/misdn.html
Modified: branches/2.0/config/misdn.html
URL: http://svn.digium.com/view/asterisk-gui/branches/2.0/config/misdn.html?view=diff&rev=3703&r1=3702&r2=3703
==============================================================================
--- branches/2.0/config/misdn.html (original)
+++ branches/2.0/config/misdn.html Mon Aug 25 10:35:59 2008
@@ -214,13 +214,13 @@
 	ASTGUI.selectbox.selectOption( _$('editport_option'), PORTS[p]['option'] );
 	ASTGUI.selectbox.selectOption( _$('editport_type'), PORTS[p]['portType'] );
 	_$('editport_label').innerHTML = PORTS[p]['cardno'] + "/" + PORTS[p]['card_portno'] ;
-	_$('edit_port').style.display = "";
+	$('#edit_port').showWithBg();
 	_$('edit_port')['port_editing'] = p;
 }
 
 
 function canelPortInfo(){
-	_$('edit_port').style.display = "none";
+	$('#edit_port').hideWithBg();
 }
 
 function updatePortInfo(){
@@ -355,16 +355,16 @@
 	isnewTrunk = true;
 	_$('edit_MTrunk_ports').value = '';
 	_$('edit_MTrunk_trunkName').value = '';
-	_$('edit_trunk').style.display = "";
+	$('#edit_trunk').showWithBg();
 };
 
 var canelTrunkInfo = function(){
-	_$('edit_trunk').style.display = "none";
+	$('#edit_trunk').hideWithBg();
 }
 
 var edit_trunk = function(k){
 	isnewTrunk = false;
-	_$('edit_trunk').style.display = "";
+	$('#edit_trunk').showWithBg();
 	_$('edit_trunk')['trunk_being_Edited'] = k;
 };
 
@@ -505,10 +505,10 @@
 	</center>
 </div>
 
-<div id="edit_trunk" STYLE="width:500; height:180;display:none;" class='dialog'>
+<div id="edit_trunk" STYLE="width:500; display:none;" class='dialog'>
 	<TABLE width="100%" cellpadding=0 cellspacing=0>
 	<TR class="dialog_title_tr">
-		<TD class="dialog_title" onmousedown="ASTGUI.startDrag(event);"></TD>
+		<TD class="dialog_title" onmousedown="ASTGUI.startDrag(event);">Add/Edit Trunk</TD>
 		<TD class="dialog_title_X" onclick="ASTGUI.hideDrag(event);"> X </TD>
 	</TR>
 	</TABLE>
@@ -522,7 +522,7 @@
 		</TD>
 	</TR>
 
-	<TR>	<TD colspan=2 align=center height=50 valign=middle>  
+	<TR>	<TD colspan=2 align=center height=30 valign=middle>
 			<span class='guiButton' onclick='updateTrunkInfo();'>Update</span>
 			<span class='guiButton' onclick='canelTrunkInfo();'>Cancel</span>
 		</TD>
    
    
More information about the asterisk-gui-commits
mailing list