pari: trunk r127 - in /trunk/config: numberplan.html voicemail.html

asterisk-gui-commits at lists.digium.com asterisk-gui-commits at lists.digium.com
Fri Nov 10 17:16:09 MST 2006


Author: pari
Date: Fri Nov 10 18:16:08 2006
New Revision: 127

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

Modified:
    trunk/config/numberplan.html
    trunk/config/voicemail.html

Modified: trunk/config/numberplan.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/numberplan.html?view=diff&rev=127&r1=126&r2=127
==============================================================================
--- trunk/config/numberplan.html (original)
+++ trunk/config/numberplan.html Fri Nov 10 18:16:08 2006
@@ -220,7 +220,7 @@
 						$('planident').value = $('name').value.substr(11);
 						$('name').disabled = true;
 						$('newitem').disabled=false; // "Add new Pattern" is Enabled
-
+						$('modplan').disabled = false;
 						if ($('modplan').checked) {
 							$('planident').disabled = false;
 							$('comment').disabled = false;
@@ -316,7 +316,7 @@
 			tmp.fieldbyname['planident'] = 'custom-' + x;
 			tmp.fieldbyname['include'] = 'default';
 		}
-
+		$('modplan').disabled = true;
 		return tmp;
 	}
 	
@@ -529,12 +529,12 @@
 									<tr><td>
 										<div style="background-image:url(images/slice-v.png)" id='advancedw'>
 										<table id='advancedi' align='center'><tr><td>
-										<tr><td class="field_text"><NOBR>Customize Plans</NOBR></td><td><input type='checkbox' id='modplan' onClick='updateplandel()'></td></tr>
 										<tr><td class="field_text">Plan Ident</td><td><input size='14' type='text' id='planident' class="input8"></td></tr>
 										<tr><td class="field_text">Plan Comment</td><td><input size='14' type='text' id='comment' disabled='yes' class="input8"></td></tr>
 										<tr><td class="field_text">Builds On</td><td><input size='14' type='text' id='include' class="input8"></td></tr>
 										<tr><td colspan='2' align='center' height=5></td></tr>
-										<tr><td colspan='2' align='center'><input type='button' id='new' value='New Plan' class="buttonbold"></td></tr>
+										<tr><td class="field_text"><NOBR>Customize Plans</NOBR></td><td><input type='checkbox' id='modplan' onClick='updateplandel()'></td></tr>
+										<tr><td colspan='2' align='center'><input type='button' id='new' value='Create New Calling Plan' class="buttonbold"></td></tr>
 										</table>
 										</div>
 									</td></tr>

Modified: trunk/config/voicemail.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/voicemail.html?view=diff&rev=127&r1=126&r2=127
==============================================================================
--- trunk/config/voicemail.html (original)
+++ trunk/config/voicemail.html Fri Nov 10 18:16:08 2006
@@ -178,6 +178,7 @@
 			if (vmexten.length) {
 				if (!$('name').value.length) {
 					delete_item($('extensions'),null,1);
+					alert("Default Voicemail Extension has been removed");
 				} else {
 					save_item($('extensions'));
 				}



More information about the asterisk-gui-commits mailing list