SOLR-4341: Admin UI - Plugins/Stats Page contains loooong Values which result in horizontal Scrollbar

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1437767 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Stefan Matheis 2013-01-23 21:54:28 +00:00
parent 3347ec8c20
commit 15bc6148ae
2 changed files with 5 additions and 6 deletions

View File

@ -80,6 +80,9 @@ Optimizations
* SOLR-4340: Admin UI - Analysis's Button Spinner goes wild
(steffkes)
* SOLR-4341: Admin UI - Plugins/Stats Page contains loooong
Values which result in horizontal Scrollbar (steffkes)
Other Changes
----------------------

View File

@ -254,12 +254,8 @@ var render_plugin_data = function( plugin_data, plugin_sort, types )
for( var stats_key in details[detail_key] )
{
var stats_value = details[detail_key][stats_key];
if( 'readerDir' === stats_key )
{
stats_value = stats_value.replace( /@/g, '@​' );
}
var stats_value = new String( details[detail_key][stats_key] );
stats_value = stats_value.replace( /([\(@])/g, '$1​' );
content += '<li><dl class="clearfix">' + "\n";
content += '<dt>' + stats_key + ':</dt>' + "\n";