bkruse: branch 1.4 r1548 - /branches/1.4/config/voicemail.html

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Sat Sep 8 11:58:42 CDT 2007


Author: bkruse
Date: Sat Sep  8 11:58:42 2007
New Revision: 1548

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=1548
Log:
Fixes a bug where if you choose to only
send voicemail via email, to also delete
the message so you cannot receive it through
comedian mail. Thanks for the patch Corydon,
great work!
(closes issue #10664)

Modified:
    branches/1.4/config/voicemail.html

Modified: branches/1.4/config/voicemail.html
URL: http://svn.digium.com/view/asterisk-gui/branches/1.4/config/voicemail.html?view=diff&rev=1548&r1=1547&r2=1548
==============================================================================
--- branches/1.4/config/voicemail.html (original)
+++ branches/1.4/config/voicemail.html Sat Sep  8 11:58:42 2007
@@ -34,7 +34,7 @@
 var usercallbacks = new Object;
 var voicemailcallbacks = new Object;
 var localextenlength;
-var vmfields = ['attach' ,'attachfmt' ,'cancel' ,'emailonly' ,'envelope' ,'maxgreet' ,'maxmessage' ,'maxmsg' ,'minmessage' ,'operator' ,'review' ,'save' ,'saycid' ,'sayduration'];
+var vmfields = ['attach' ,'attachfmt' ,'cancel' ,'deletevoicemail' ,'envelope' ,'maxgreet' ,'maxmessage' ,'maxmsg' ,'minmessage' ,'operator' ,'review' ,'save' ,'saycid' ,'sayduration'];
 
 var fields = new Array('name');
 
@@ -123,7 +123,7 @@
 }
 
 callbacks.postselect = function(box, val) {
-	var fields_to_disable  = new Array('attach', 'saycid', 'sayduration', 'emailonly', 'maxmsg', 'maxmessage', 'minmessage', 'operator', 'attachfmt', 'review', 'envelope', 'maxgreet');
+	var fields_to_disable  = new Array('attach', 'saycid', 'sayduration', 'deletevoicemail', 'maxmsg', 'maxmessage', 'minmessage', 'operator', 'attachfmt', 'review', 'envelope', 'maxgreet');
 	parent.$('tooltip').innerHTML = parent.tooltip_default ; 
 	if( box.selectedIndex == -1)
 		return true;
@@ -388,7 +388,7 @@
 			<div>	<fieldset  style="width: 225px;">
 				<legend>&nbsp;Playback Options:&nbsp;</legend>
 				<table align='center' cellpadding=1 cellspacing=0 border=0 width=270>
-				<tr>	<td><input type='checkbox' id='emailonly'></td>
+				<tr>	<td><input type='checkbox' id='deletevoicemail'></td>
 					<td class="field_text" tip="en,voicemail,4">Send messages by e-mail only</td>
 				</tr>
 




More information about the asterisk-gui-commits mailing list