rbrindley: branch 2.0 r4714 - /branches/2.0/config/js/astman.js
SVN commits to the Asterisk-GUI project
asterisk-gui-commits at lists.digium.com
Tue Apr 7 09:53:43 CDT 2009
Author: rbrindley
Date: Tue Apr 7 09:53:39 2009
New Revision: 4714
URL: http://svn.digium.com/svn-view/asterisk-gui?view=rev&rev=4714
Log:
- lets not limit the trunk's username to 10 chars
Modified:
branches/2.0/config/js/astman.js
Modified: branches/2.0/config/js/astman.js
URL: http://svn.digium.com/svn-view/asterisk-gui/branches/2.0/config/js/astman.js?view=diff&rev=4714&r1=4713&r2=4714
==============================================================================
--- branches/2.0/config/js/astman.js (original)
+++ branches/2.0/config/js/astman.js Tue Apr 7 09:53:39 2009
@@ -1185,7 +1185,7 @@
// cli output of 'sip show registry' shows only a part of long usernames
// We should use action: status like we do for active channel monitoring.
- var uname_lc = uname.toLowerCase().substr(0,10);
+ var uname_lc = uname.toLowerCase();
for(var i = 0; i < lines.length; i++) {
var line_orig = lines[i];
@@ -1198,7 +1198,7 @@
switch(vals[3]) {
case 'registered':
case 'Registered':
- return '<font color="green">registered</font>';
+ return '<font color="green">'+vals[3]+'</font>';
default:
return '<font color="red">'+vals[3]+'</font>';
}
More information about the asterisk-gui-commits
mailing list