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

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Mon May 4 14:17:26 CDT 2009


Author: rbrindley
Date: Mon May  4 14:17:21 2009
New Revision: 4771

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

- fixed a few errors relating to editing paging extensions


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=4771&r1=4770&r2=4771
==============================================================================
--- branches/2.0/config/js/pbx2.js (original)
+++ branches/2.0/config/js/pbx2.js Mon May  4 14:17:21 2009
@@ -623,13 +623,13 @@
  * @return boolean of success.
  */
 pbx.paging.remove = function(exten, callback) {
-	var cache = this.updatePGsCache;
-	ASTGUI.misFunctions.delete_LinesLike({ 
+	var cache = this.updateCache;
+	ASTGUI.miscFunctions.delete_LinesLike({ 
 		context_name: ASTGUI.contexts.PageGroups, 
-		beginsWithArr: ['exten=' + pgexten + ','], 
+		beginsWithArr: ['exten=' + exten + ','], 
 		filename: 'extensions.conf', 
 		hasThisString: 'Macro(', 
-		cb: function(){AF(cb);}
+		cb: function(){cache(callback);}
 	});
 };
 




More information about the asterisk-gui-commits mailing list