pari: branch 2.0 r3964 - /branches/2.0/config/menus.html

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Fri Oct 17 11:58:50 CDT 2008


Author: pari
Date: Fri Oct 17 11:58:49 2008
New Revision: 3964

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

 Fix: Use proper method (textarea.value instead of textarea.innerHTML) to set the field value



Modified:
    branches/2.0/config/menus.html

Modified: branches/2.0/config/menus.html
URL: http://svn.digium.com/view/asterisk-gui/branches/2.0/config/menus.html?view=diff&rev=3964&r1=3963&r2=3964
==============================================================================
--- branches/2.0/config/menus.html (original)
+++ branches/2.0/config/menus.html Fri Oct 17 11:58:49 2008
@@ -150,16 +150,19 @@
 	},
 
 	show_VMenuEdit_Advanced : function(){
+		parent.ASTGUI.dialog.waitWhile('Loading ..') ;
 		$('#edit_VM_Advanced_DIV').showWithBg();
 		$('#div_vmenu_edit').hideWithBg();
 		_$('edit_VM_Advanced_DIV_Title').innerHTML = '[' + EDIT_VMENU + ']' ;
 
-		_$('edit_VM_Advanced_details').innerHTML = '';
+		_$('edit_VM_Advanced_details').value = '';
 		var t = config2json({filename:'extensions.conf', usf:0});
 		if( t.hasOwnProperty(EDIT_VMENU) ){
 			_$('edit_VM_Advanced_details').rows = t[EDIT_VMENU].length + 1 ;
-			_$('edit_VM_Advanced_details').innerHTML = t[EDIT_VMENU].join('\n');
+			_$('edit_VM_Advanced_details').value = t[EDIT_VMENU].join('\n');
 		}
+
+		parent.ASTGUI.dialog.hide() ;
 	},
 
 	save_VMenu_Advanced : function(){ // VoiceMenus_miscFunctions.save_VMenu_Advanced();




More information about the asterisk-gui-commits mailing list