pari: trunk r350 - in /trunk/config: localexts.html menus.html scripts/astman.js

asterisk-gui-commits at lists.digium.com asterisk-gui-commits at lists.digium.com
Thu Feb 15 23:03:03 MST 2007


Author: pari
Date: Fri Feb 16 00:03:02 2007
New Revision: 350

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=350
Log:
fix: When 'No Changes made' - only save button is being disabled, but not the cancel button

Modified:
    trunk/config/localexts.html
    trunk/config/menus.html
    trunk/config/scripts/astman.js

Modified: trunk/config/localexts.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/localexts.html?view=diff&rev=350&r1=349&r2=350
==============================================================================
--- trunk/config/localexts.html (original)
+++ trunk/config/localexts.html Fri Feb 16 00:03:02 2007
@@ -143,7 +143,7 @@
 	<fieldset style="width: 400px">
 		<legend>&nbsp;Default Settings for a New User:&nbsp;</legend>
 				<table align='center'  width='390'  cellpadding=2 cellspacing=1>
-				<tr onmouseover="show_tooltip('en', 'users', 16);"><td class="field_text" align="right">VM Password:</td><td><input size='5' id='vmsecret' pattern='^[0-9*]*$'  class="input8"></td></tr>
+				<tr onmouseover="show_tooltip('en', 'users', 16);"><td class="field_text" align="right">VM Password:</td><td><input size='5' id='vmsecret' pattern='^[0-9*]*$'  class="input9"></td></tr>
 				<tr onmouseover="show_tooltip('en', 'users', 8);"><td class="field_text" align="right">Voicemail:</td><td><input type='checkbox' id='hasvoicemail'></td></tr>
 				<tr onmouseover="show_tooltip('en', 'users', 9);"><td class="field_text"  align="right">In Directory:</td><td><input type='checkbox' id='hasdirectory'></td></tr>
 				<tr onmouseover="show_tooltip('en', 'users', 10);"><td class="field_text" align="right">SIP:</td><td><input type='checkbox' id='hassip'></td></tr>

Modified: trunk/config/menus.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/menus.html?view=diff&rev=350&r1=349&r2=350
==============================================================================
--- trunk/config/menus.html (original)
+++ trunk/config/menus.html Fri Feb 16 00:03:02 2007
@@ -1077,7 +1077,7 @@
 									<option value="GotoExtension">Goto Extension</option>
 									<option value="Hangup">Hangup</option>
 								</select>&nbsp;
-								<input type=text id="newstep_var" style="display:none" size=4 disabled>
+								<input type=text id="newstep_var" style="display:none" size=4 disabled class="input8">
 								<select id='add_newstep_extensions' style="display:none"   onChange=" $('newstep_var').value = $('add_newstep_extensions').value;"   class="input8"></select>
 								<select id='add_newstep_menus' style="display:none"    onChange=" $('newstep_var').value = $('add_newstep_menus').value;"   class="input8"></select>
 											<div id="combodiv_sounds">

Modified: trunk/config/scripts/astman.js
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/scripts/astman.js?view=diff&rev=350&r1=349&r2=350
==============================================================================
--- trunk/config/scripts/astman.js (original)
+++ trunk/config/scripts/astman.js Fri Feb 16 00:03:02 2007
@@ -945,6 +945,8 @@
 		}
 		if (box.widgets['save'])
 			box.widgets['save'].disabled = true;
+		if (box.widgets['cancel'])
+			box.widgets['cancel'].disabled = true;
 	}
 }
 



More information about the asterisk-gui-commits mailing list