rbrindley: branch 2.0 r4759 - in /branches/2.0/config: ./ js/

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Wed Apr 22 12:58:39 CDT 2009


Author: rbrindley
Date: Wed Apr 22 12:58:36 2009
New Revision: 4759

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

- conference rooms now auto minimize and auto maximize depending on use


Modified:
    branches/2.0/config/js/welcome.js
    branches/2.0/config/welcome.html

Modified: branches/2.0/config/js/welcome.js
URL: http://svn.digium.com/svn-view/asterisk-gui/branches/2.0/config/js/welcome.js?view=diff&rev=4759&r1=4758&r2=4759
==============================================================================
--- branches/2.0/config/js/welcome.js (original)
+++ branches/2.0/config/js/welcome.js Wed Apr 22 12:58:36 2009
@@ -529,6 +529,9 @@
 			tmp.contents().find(".status").html('Not In Use');
 			tmp.contents().find(".time").html("00:00");
 			tmp.contents().find(".members > .list > tbody").empty().html('<tr><td colspan="4">No Active Members</td></tr>');
+			tmp.find('.minimaxi').html('[ + ]');
+			tmp.find('.body').hide();
+
 		}
 
 		tmp.removeClass("template");
@@ -854,7 +857,7 @@
 		break;
 	case 'up':	/* Up */
 		var state = 'Up';
-		exten_status_img.attr('src','images/status_green.png');
+		exten_status_img.attr('src','images/status_red.png');
 		break;
 	default:
 		top.log.debug("updateExtension :: We have encountered an unknown extension state of " + state.toString());
@@ -911,6 +914,8 @@
 		conf = $('#conf_'+meetme.toString());
 		conf.find('.status').html('1 User');
 		conf.find('.time').addClass('count_html_up').html('00:00');
+		conf.find('.body').show();
+		conf.find('.minimaxi').html('[ - ]');
 	} else {
 		conf = $('#conf_'+meetme.toString());
 		var status = conf.contents().find('.status').html();
@@ -931,6 +936,8 @@
 		conf.find(".status").html('Not In Use');
 		conf.find(".time").removeClass('count_html_up').html("00:00");
 		conf.find(".members > .list > tbody").empty().html('<tr><td colspan="4">No Active Members</td></tr>');
+		conf.find('.body').hide();
+		conf.find('.minimaxi').html('[ + ]');
 	} else {
 		conf = $('#conf_'+meetme.toString());
 		var status = conf.contents().find('.status').html();

Modified: branches/2.0/config/welcome.html
URL: http://svn.digium.com/svn-view/asterisk-gui/branches/2.0/config/welcome.html?view=diff&rev=4759&r1=4758&r2=4759
==============================================================================
--- branches/2.0/config/welcome.html (original)
+++ branches/2.0/config/welcome.html Wed Apr 22 12:58:36 2009
@@ -750,7 +750,6 @@
 	mgr.newcallerid.calleridnum = (top.sessionData.PLATFORM.isAST_1_6) ? 'calleridnum' : 'callerid';
 	mgr.newstate = {};
 	mgr.newstate.channelstate = (top.sessionData.PLATFORM.isAST_1_6) ? 'channelstatedesc' : 'state';
-	
 
 	manager_events.watch();
 




More information about the asterisk-gui-commits mailing list