pari: branch asterisknow r2087 - /branches/asterisknow/config/misdn.html

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Mon Jan 7 12:43:30 CST 2008


Author: pari
Date: Mon Jan  7 12:43:29 2008
New Revision: 2087

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=2087
Log:
Fix to BE-305

Problem: 
When configuring a BRI card - changes are not being applied when you
configure just one port and leave the rest of the ports unconfigured.

Fix: add an if 'portType is defined' condition





Modified:
    branches/asterisknow/config/misdn.html

Modified: branches/asterisknow/config/misdn.html
URL: http://svn.digium.com/view/asterisk-gui/branches/asterisknow/config/misdn.html?view=diff&rev=2087&r1=2086&r2=2087
==============================================================================
--- branches/asterisknow/config/misdn.html (original)
+++ branches/asterisknow/config/misdn.html Mon Jan  7 12:43:29 2008
@@ -294,7 +294,7 @@
 			addedcards[e] = true;
 			uri+= build_action('append', c, d , 'card', e ); c++;
 		}
-		pmode_ports[PORTS[k]['portType']].push(k);
+		if(PORTS[k]['portType']){ pmode_ports[PORTS[k]['portType']].push(k); }
 	}}
 
 




More information about the asterisk-gui-commits mailing list