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

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Mon Jun 29 19:31:00 CDT 2009


Author: rbrindley
Date: Mon Jun 29 19:30:56 2009
New Revision: 4953

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

- make sure we delete any 'call-limit' in the addition of the user since we've
  already added that attribute

(closes issue #15153)
Reported by: timeshell


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=4953&r1=4952&r2=4953
==============================================================================
--- branches/2.0/config/js/pbx2.js (original)
+++ branches/2.0/config/js/pbx2.js Mon Jun 29 19:30:56 2009
@@ -1857,6 +1857,10 @@
 		delete info.mailbox;
 	}
 
+	if (info['call-limit']) {
+		delete info['call-limit'];
+	}
+
 	if (info.hasOwnProperty('hassip') && info['hassip'].isAstTrue()) {
 		x.new_action('append', exten, 'host', dynamic);
 	}




More information about the asterisk-gui-commits mailing list