pari: branch 2.0 r3965 - /branches/2.0/config/trunks_providers.html
    SVN commits to the Asterisk-GUI project 
    asterisk-gui-commits at lists.digium.com
       
    Fri Oct 17 12:00:13 CDT 2008
    
    
  
Author: pari
Date: Fri Oct 17 12:00:12 2008
New Revision: 3965
URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=3965
Log:
Fix: Use proper method (textarea.value instead of textarea.innerHTML) to set the field value
Modified:
    branches/2.0/config/trunks_providers.html
Modified: branches/2.0/config/trunks_providers.html
URL: http://svn.digium.com/view/asterisk-gui/branches/2.0/config/trunks_providers.html?view=diff&rev=3965&r1=3964&r2=3965
==============================================================================
--- branches/2.0/config/trunks_providers.html (original)
+++ branches/2.0/config/trunks_providers.html Fri Oct 17 12:00:12 2008
@@ -164,11 +164,11 @@
 
 	show_EditProviderForm : function(e){ // providers_MiscFunctions.show_EditProviderForm();
 		EDIT_PROVIDER = e ;
-		_$('edit_provider_details').innerHTML = '';
+		_$('edit_provider_details').value = '';
 		var t = config2json({filename:'users.conf', usf:0});
 		if( t.hasOwnProperty(EDIT_PROVIDER) ){
 			_$('edit_provider_details').rows = t[EDIT_PROVIDER].length + 1 ;
-			_$('edit_provider_details').innerHTML = t[EDIT_PROVIDER].join('\n');
+			_$('edit_provider_details').value = t[EDIT_PROVIDER].join('\n');
 		}
 		_$('edit_SP_DIV_Title').innerHTML = '[' + EDIT_PROVIDER  + ']' ;
 		$('#edit_SPTrunk_DIV').showWithBg();
    
    
More information about the asterisk-gui-commits
mailing list