rbrindley: branch 2.0 r4960 - /branches/2.0/config/js/pbx2.js

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Wed Jul 1 15:35:02 CDT 2009


Author: rbrindley
Date: Wed Jul  1 15:34:56 2009
New Revision: 4960

URL: http://svn.asterisk.org/svn-view/asterisk-gui?view=rev&rev=4960
Log:

- fixed an issue where a recent patch solving #15108 broke the ability to
  save trunks

(closes issue #15435)
Reported by: jgirdner


Modified:
    branches/2.0/config/js/pbx2.js

Modified: branches/2.0/config/js/pbx2.js
URL: http://svn.asterisk.org/svn-view/asterisk-gui/branches/2.0/config/js/pbx2.js?view=diff&rev=4960&r1=4959&r2=4960
==============================================================================
--- branches/2.0/config/js/pbx2.js (original)
+++ branches/2.0/config/js/pbx2.js Wed Jul  1 15:34:56 2009
@@ -1279,7 +1279,7 @@
 			return false;
 		}
 
-		if (!checkForNames(exten)) {
+		if (!checkForNames(name)) {
 			top.log.error('pbx.trunks.add: There is already a context with this exten. Maybe a user?');
 			return false;
 		}




More information about the asterisk-gui-commits mailing list