SOLR-3917: Partial State on Schema-Browser UI is not defined for Dynamic Fields & Types

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1394983 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Stefan Matheis 2012-10-06 10:33:48 +00:00
parent 06ab425ddc
commit 4dc925bf4e
2 changed files with 11 additions and 1 deletions

View File

@ -67,6 +67,9 @@ Bug Fixes
* SOLR-3637: Commit Status at Core-Admin UI is always false (steffkes)
* SOLR-3917: Partial State on Schema-Browser UI is not defined for Dynamic
Fields & Types (steffkes)
Other Changes
----------------------

View File

@ -776,8 +776,15 @@ sammy.get
}
$( '.name', head_element ).html( field.esc() );
var partial_state = false;
if( is_f )
{
partial_state = !!schema_browser_data.fields[field].partial;
}
$( '.partial', data_element )
.toggle( !!schema_browser_data.fields[field].partial );
.toggle( partial_state );
// -- properties
var properties_element = $( 'dt.properties', options_element );