pari: branch 2.0 r4028 - /branches/2.0/config/paging.html

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Wed Oct 29 13:43:55 CDT 2008


Author: pari
Date: Wed Oct 29 13:43:55 2008
New Revision: 4028

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

 better status dialogs



Modified:
    branches/2.0/config/paging.html

Modified: branches/2.0/config/paging.html
URL: http://svn.digium.com/view/asterisk-gui/branches/2.0/config/paging.html?view=diff&rev=4028&r1=4027&r2=4028
==============================================================================
--- branches/2.0/config/paging.html (original)
+++ branches/2.0/config/paging.html Wed Oct 29 13:43:55 2008
@@ -123,14 +123,14 @@
 			parent.ASTGUI.dialog.hide();
 			window.location.reload();
 		};
-	
-		parent.ASTGUI.dialog.waitWhile(' Saving... ');
 		parent.astgui_managePageGroups.addPageGroup( tmp_new_line, later );
 	};
 
 	if( !isNewPgGrp ){ // if editing existing ring group
+		parent.ASTGUI.dialog.waitWhile(' Saving... ');
 		parent.astgui_managePageGroups.deletePageGroup( PgGrp_EDITING, tmp_after );
 	}else{
+		parent.ASTGUI.dialog.waitWhile(' Saving... ');
 		tmp_after();
 	}
 };
@@ -247,8 +247,10 @@
 
 var delete_pageGroup_confirm = function(d){
 	if (!confirm('Delete Page/Intercom Group ?')) { return; }
+	parent.ASTGUI.dialog.waitWhile(' Saving... ');
 	parent.astgui_managePageGroups.deletePageGroup(d, function(){
 		ASTGUI.feedback({ msg:'Page/Intercom Group deleted', showfor:2 });
+		parent.ASTGUI.dialog.hide();
 		window.location.reload();
 	});
 };




More information about the asterisk-gui-commits mailing list