rbrindley: branch rbrindley/astman_revamp r4692 - /team/rbrindley/astman_reva...
SVN commits to the Asterisk-GUI project
asterisk-gui-commits at lists.digium.com
Wed Apr 1 14:10:27 CDT 2009
Author: rbrindley
Date: Wed Apr 1 14:10:23 2009
New Revision: 4692
URL: http://svn.digium.com/svn-view/asterisk-gui?view=rev&rev=4692
Log:
- js/paging.js now uses pbx.paging and pbx.users
Modified:
team/rbrindley/astman_revamp/config/js/paging.js
Modified: team/rbrindley/astman_revamp/config/js/paging.js
URL: http://svn.digium.com/svn-view/asterisk-gui/team/rbrindley/astman_revamp/config/js/paging.js?view=diff&rev=4692&r1=4691&r2=4692
==============================================================================
--- team/rbrindley/astman_revamp/config/js/paging.js (original)
+++ team/rbrindley/astman_revamp/config/js/paging.js Wed Apr 1 14:10:23 2009
@@ -91,12 +91,12 @@
parent.ASTGUI.dialog.hide();
window.location.reload();
};
- parent.astgui_managePageGroups.addPageGroup( tmp_new_line, later );
+ parent.pbx.paging.add( tmp_new_line, later );
};
if( !isNewPgGrp ){ // if editing existing ring group
parent.ASTGUI.dialog.waitWhile(' Saving... ');
- parent.astgui_managePageGroups.deletePageGroup( PgGrp_EDITING, tmp_after );
+ parent.pbx.paging.remove( PgGrp_EDITING, tmp_after );
}else{
parent.ASTGUI.dialog.waitWhile(' Saving... ');
tmp_after();
@@ -178,7 +178,7 @@
var delete_pageGroup_confirm = function(d){
if (!confirm('Delete Page/Intercom Group ?')) { return; }
parent.ASTGUI.dialog.waitWhile(' Saving... ');
- parent.astgui_managePageGroups.deletePageGroup(d, function(){
+ parent.pbx.paging.remove(d, function(){
ASTGUI.feedback({ msg:'Page/Intercom Group deleted', showfor:2 });
parent.ASTGUI.dialog.hide();
window.location.reload();
@@ -282,7 +282,7 @@
})();
try{
(function (){
- var t = parent.astgui_manageusers.listOfUsers();
+ var t = parent.pbx.users.list();
t.each(function(usr){
if( parent.sessionData.pbxinfo['users'][usr]['hassip'] && parent.sessionData.pbxinfo['users'][usr]['hassip'] == 'yes' ){
listOfDialDevices.push( 'SIP/' + usr );
More information about the asterisk-gui-commits
mailing list