rbrindley: branch rbrindley/astman_revamp r4585 - /team/rbrindley/astman_reva...
SVN commits to the Asterisk-GUI project
asterisk-gui-commits at lists.digium.com
Thu Mar 5 11:55:46 CST 2009
Author: rbrindley
Date: Thu Mar 5 11:55:43 2009
New Revision: 4585
URL: http://svn.digium.com/svn-view/asterisk-gui?view=rev&rev=4585
Log:
- copied astgui_manageusers.listOfUsers to pbx.users.list
Modified:
team/rbrindley/astman_revamp/config/js/pbx2.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=4585&r1=4584&r2=4585
==============================================================================
--- team/rbrindley/astman_revamp/config/js/pbx2.js (original)
+++ team/rbrindley/astman_revamp/config/js/pbx2.js Thu Mar 5 11:55:43 2009
@@ -97,6 +97,13 @@
pbx.users = {};
/**
+ * List users.
+ */
+pbx.users.list = function() {
+ return ( sessionData.pbxinfo.users && sessionData.pbxinfo.users.getOwnProperties && sessionData.pbxinfo.users.getOwnProperties() ) || [];
+};
+
+/**
* Remove user.
* @param user The user.
* @param vmdel Optional, default = false. Boolean to delete vms or not.
More information about the asterisk-gui-commits
mailing list