rbrindley: branch rbrindley/astman_revamp r4687 - /team/rbrindley/astman_reva...

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Wed Apr 1 12:38:39 CDT 2009


Author: rbrindley
Date: Wed Apr  1 12:38:36 2009
New Revision: 4687

URL: http://svn.digium.com/svn-view/asterisk-gui?view=rev&rev=4687
Log:

- properly arranged arg order
- resp not rest


Modified:
    team/rbrindley/astman_revamp/config/js/pbx2.js
    team/rbrindley/astman_revamp/config/js/ringgroups.js

Modified: team/rbrindley/astman_revamp/config/js/pbx2.js
URL: http://svn.digium.com/svn-view/asterisk-gui/team/rbrindley/astman_revamp/config/js/pbx2.js?view=diff&rev=4687&r1=4686&r2=4687
==============================================================================
--- team/rbrindley/astman_revamp/config/js/pbx2.js (original)
+++ team/rbrindley/astman_revamp/config/js/pbx2.js Wed Apr  1 12:38:36 2009
@@ -635,8 +635,7 @@
 	actions.new_action('append', name, 'exten', 's,n,' + rg.fallback);
 
 	var resp = actions.callActions();
-
-	if (!rest.contains('Response: Success')) {
+	if (!resp.contains('Response: Success')) {
 		top.log.error('pbx.ring_groups.add: error updating extensions.conf');
 		return false;
 	}

Modified: team/rbrindley/astman_revamp/config/js/ringgroups.js
URL: http://svn.digium.com/svn-view/asterisk-gui/team/rbrindley/astman_revamp/config/js/ringgroups.js?view=diff&rev=4687&r1=4686&r2=4687
==============================================================================
--- team/rbrindley/astman_revamp/config/js/ringgroups.js (original)
+++ team/rbrindley/astman_revamp/config/js/ringgroups.js Wed Apr  1 12:38:36 2009
@@ -127,7 +127,7 @@
 		$(DOM_ringgroup_editdiv).hide();
 		window.location.reload();
 	};
-	parent.pbx.ring_groups.add( tmp_obj, later, RG_EDITING ) ;
+	parent.pbx.ring_groups.add(RG_EDITING, tmp_obj, later);
 };
 
 




More information about the asterisk-gui-commits mailing list