lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From steff...@apache.org
Subject svn commit: r1437768 - in /lucene/dev/branches/branch_4x: ./ solr/ solr/CHANGES.txt solr/webapp/ solr/webapp/web/js/scripts/plugins.js
Date Wed, 23 Jan 2013 21:55:08 GMT
Author: steffkes
Date: Wed Jan 23 21:55:07 2013
New Revision: 1437768

URL: http://svn.apache.org/viewvc?rev=1437768&view=rev
Log:
SOLR-4341: Admin UI - Plugins/Stats Page contains loooong Values which result in horizontal
Scrollbar (merge r1437767)

Modified:
    lucene/dev/branches/branch_4x/   (props changed)
    lucene/dev/branches/branch_4x/solr/   (props changed)
    lucene/dev/branches/branch_4x/solr/CHANGES.txt   (contents, props changed)
    lucene/dev/branches/branch_4x/solr/webapp/   (props changed)
    lucene/dev/branches/branch_4x/solr/webapp/web/js/scripts/plugins.js

Modified: lucene/dev/branches/branch_4x/solr/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/solr/CHANGES.txt?rev=1437768&r1=1437767&r2=1437768&view=diff
==============================================================================
--- lucene/dev/branches/branch_4x/solr/CHANGES.txt (original)
+++ lucene/dev/branches/branch_4x/solr/CHANGES.txt Wed Jan 23 21:55:07 2013
@@ -58,6 +58,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
 ----------------------
 

Modified: lucene/dev/branches/branch_4x/solr/webapp/web/js/scripts/plugins.js
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/solr/webapp/web/js/scripts/plugins.js?rev=1437768&r1=1437767&r2=1437768&view=diff
==============================================================================
--- lucene/dev/branches/branch_4x/solr/webapp/web/js/scripts/plugins.js (original)
+++ lucene/dev/branches/branch_4x/solr/webapp/web/js/scripts/plugins.js Wed Jan 23 21:55:07
2013
@@ -254,12 +254,8 @@ var render_plugin_data = function( plugi
 
           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";



Mime
View raw message