pari: trunk r383 - /trunk/config/incoming.html

asterisk-gui-commits at lists.digium.com asterisk-gui-commits at lists.digium.com
Tue Feb 27 09:16:00 MST 2007


Author: pari
Date: Tue Feb 27 10:16:00 2007
New Revision: 383

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=383
Log:
fixing some really bad code 

Modified:
    trunk/config/incoming.html

Modified: trunk/config/incoming.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/incoming.html?view=diff&rev=383&r1=382&r2=383
==============================================================================
--- trunk/config/incoming.html (original)
+++ trunk/config/incoming.html Tue Feb 27 10:16:00 2007
@@ -105,7 +105,7 @@
 	// load list of trunks to 'fromprovider'
 	var t ;
 	for ( t in didtrunks){
-		if( t == "extend")continue ;
+	if(  didtrunks.hasOwnProperty(t) ){
 		  var a = document.createElement('option');
 		  a.text = didtrunks[t].trunkname ;
 		  a.value = t ;
@@ -116,6 +116,7 @@
 		  catch(ex) {
 			b.add(a); 
 		  }
+	  }
 	}
 	// load the object didtrunks into the table callingRulesTable
 	refreshtable();



More information about the asterisk-gui-commits mailing list