pari: trunk r627 - /trunk/config/meetme.html

asterisk-gui-commits at lists.digium.com asterisk-gui-commits at lists.digium.com
Mon Apr 9 12:45:33 MST 2007


Author: pari
Date: Mon Apr  9 14:45:32 2007
New Revision: 627

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=627
Log:
fix for a bug introduced during DOM optimizations

Modified:
    trunk/config/meetme.html

Modified: trunk/config/meetme.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/meetme.html?view=diff&rev=627&r1=626&r2=627
==============================================================================
--- trunk/config/meetme.html (original)
+++ trunk/config/meetme.html Mon Apr  9 14:45:32 2007
@@ -159,8 +159,12 @@
 
 callbacks.postselect = function(box, val) {
 	parent._$('tooltip').innerHTML = parent.tooltip_default ; 
-	var _pv = _$('pin').value = ""  ;
-	var _pa = _$('pinadmin').value = "" ;
+	var _pv = _$('pin');
+	var _pa = _$('pinadmin');
+
+	_pv.value = "";
+	_pa.value = "" ;
+
 	if( box.selectedIndex == -1){
 		enable_disable_fields(0);
 		return true;
@@ -198,8 +202,8 @@
 	for ( var r=0; r < f.stored_config.catbyname.rooms.fields.length; r++ ) {
 		var k = f.stored_config.catbyname.rooms.fields[r].split(",");
 		if(k[0] == temp_selectedexten ){
-			_pv = k[1] ;		
-			_pa = k[2] ;
+			_pv.value = k[1] ;
+			_pa.value = k[2] ;
 			break;
 		}
 	}
@@ -277,6 +281,7 @@
 	var newvalue = _$('name').value + ","+ _$('pin').value + "," + _$('pinadmin').value;
 
 	if ( oldvalue ==  newvalue ){
+		alert("KKKKKKKKKKK");
 		_$('save').disabled = true;
 		_$('cancel').disabled = true;
 		return;



More information about the asterisk-gui-commits mailing list