rbrindley: branch rbrindley/welcome_revamp r4304 - in /team/rbrindley/welcome...

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Fri Dec 5 14:36:55 CST 2008


Author: rbrindley
Date: Fri Dec  5 14:36:55 2008
New Revision: 4304

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

- exit loadQueues function if no queues exist
- img.loadTrunks now has a pointer cursor


Modified:
    team/rbrindley/welcome_revamp/config/js/welcome2.js
    team/rbrindley/welcome_revamp/config/welcome2.html

Modified: team/rbrindley/welcome_revamp/config/js/welcome2.js
URL: http://svn.digium.com/view/asterisk-gui/team/rbrindley/welcome_revamp/config/js/welcome2.js?view=diff&rev=4304&r1=4303&r2=4304
==============================================================================
--- team/rbrindley/welcome_revamp/config/js/welcome2.js (original)
+++ team/rbrindley/welcome_revamp/config/js/welcome2.js Fri Dec  5 14:36:55 2008
@@ -270,6 +270,10 @@
 	//6500         has 0 calls (max unlimited) in 'ringall' strategy (0s holdtime), W:0, C:0, A:2, SL:0.0% within 0s
 	//   No Members
 	//   No Callers
+
+	if (queue_status.contains('No queues.')) {
+		return;
+	}
 
 	queue_status = queue_status.split('\n\n');
 	queue_status.each( function(q) { 

Modified: team/rbrindley/welcome_revamp/config/welcome2.html
URL: http://svn.digium.com/view/asterisk-gui/team/rbrindley/welcome_revamp/config/welcome2.html?view=diff&rev=4304&r1=4303&r2=4304
==============================================================================
--- team/rbrindley/welcome_revamp/config/welcome2.html (original)
+++ team/rbrindley/welcome_revamp/config/welcome2.html Fri Dec  5 14:36:55 2008
@@ -308,6 +308,10 @@
 	display: none;
 }
 
+img.loadTrunks {
+	cursor: pointer;
+}
+
 </style>
 <!-- End Initial CSS -->
 
@@ -330,7 +334,7 @@
 	/* jQuery sortable init for content sections */
  	$('#sysstat_right_container, #sysstat_left_container').sortable({
 		axis: 'y',
-		cancel: '.minimaxi',
+		cancel: '.minimaxi, .loadTrunks',
 		cursor: 'move',
 		forcePlaceholderSize: true,
 		handle: 'div.handle',




More information about the asterisk-gui-commits mailing list