rbrindley: branch rbrindley/welcome_revamp r4305 - /team/rbrindley/welcome_re...

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Fri Dec 5 15:08:10 CST 2008


Author: rbrindley
Date: Fri Dec  5 15:08:10 2008
New Revision: 4305

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

- changed rsvd to rsvrd case in updateExtensions
- added busy case in updateExtensions
- added newlines to default alert statement


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

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=4305&r1=4304&r2=4305
==============================================================================
--- team/rbrindley/welcome_revamp/config/js/welcome2.js (original)
+++ team/rbrindley/welcome_revamp/config/js/welcome2.js Fri Dec  5 15:08:10 2008
@@ -732,6 +732,7 @@
 		exten_status_img.attr('src','images/status_red.png');
 		break;
 	case '2':	/* Busy */
+	case 'busy':	/* Busy */
 		var state = 'Busy';
 		exten_status_img.attr('src','images/status_red.png');
 		break;
@@ -768,7 +769,7 @@
 		var state = 'Ring';
 		exten_status_img.attr('src','images/status_red.png');
 		break;
-	case 'rsvd':	/* Reserved */
+	case 'rsrvd':	/* Reserved */
 		//var state = 'Reserved';
 		//exten_status_img.attr('src','images/status_red.png');
 		break;
@@ -779,9 +780,9 @@
 	default:
 		var state = 'Unknown';
 		alert('updateExtension:\r\n'
-			+'status: '+status.toString()
-			+'exten: '+exten.toString()
-			+'context: '+context.toString()
+			+'status: '+status.toString()+'\r\n'
+			+'exten: '+exten.toString()+'\r\n'
+			+'context: '+context.toString()+'\r\n'
 		);
 		break;
 	}




More information about the asterisk-gui-commits mailing list