SOLR-4611: Admin UI - Analysis-Urls with empty parameters create empty result table

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1495826 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Stefan Matheis 2013-06-23 15:00:59 +00:00
parent 9dab69c257
commit c1e35f1b82
2 changed files with 4 additions and 1 deletions

View File

@ -202,6 +202,9 @@ Optimizations
* SOLR-4719 : Admin UI - Default to wt=json on Query-Screen (steffkes)
* SOLR-4611: Admin UI - Analysis-Urls with empty parameters create empty result table
(steffkes)
Other Changes
----------------------

View File

@ -125,7 +125,7 @@ sammy.get
var fields = 0;
for( var key in context.params )
{
if( 'string' === typeof context.params[key] )
if( 'string' === typeof context.params[key] && 0 !== context.params[key].length )
{
fields++;
$( '[name="' + key + '"]', analysis_form )