SOLR-4867: Admin UI - setting loglevel on root throws RangeError

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1487096 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Stefan Matheis 2013-05-28 20:21:29 +00:00
parent 5de9c6af0b
commit 5ad879d348
3 changed files with 19 additions and 6 deletions

View File

@ -108,6 +108,8 @@ Bug Fixes
* SOLR-4814: If a SolrCore cannot be created it should remove any information it
published about itself from ZooKeeper. (Mark Miller)
* SOLR-4867: Admin UI - setting loglevel on root throws RangeError (steffkes)
Other Changes
----------------------

View File

@ -193,6 +193,13 @@
padding-right: 21px;
}
#content #logging .jstree a span.name em
{
color: #f00;
font-style: normal;
text-transform: uppercase;
}
#content #logging .jstree a.trigger.set
{
font-weight: bold;
@ -224,6 +231,7 @@
#content #logging .jstree li li li li li .selector-holder { left: 368px; }
#content #logging .jstree li li li li li li .selector-holder { left: 350px; }
#content #logging .jstree li li li li li li li .selector-holder { left: 332px; }
#content #logging .jstree li li li li li li li li .selector-holder { left: 314px; }
#content #logging .jstree .selector
{

View File

@ -99,11 +99,13 @@ var logging_handler = function( response, text_status, xhr )
logger_content += '<span class="ns">' + logger_name.join( '.' ).esc() + '.</span>';
}
logger_content += '<span class="name">' + display_name.esc() + '</span>' + "\n";
logger_content += '<span class="name">' + ( display_name ? display_name.esc() : '<em>empty</em>' ) + '</span>' + "\n";
logger_content += '</a>';
logger_content += levels;
if( !!logger.name )
{
var child_logger_content = logger_tree( logger.name );
if( child_logger_content )
{
@ -111,6 +113,7 @@ var logging_handler = function( response, text_status, xhr )
logger_content += child_logger_content;
logger_content += '</ul>';
}
}
logger_content += '</li>';
}