mirror of https://github.com/apache/lucene.git
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:
parent
06ab425ddc
commit
4dc925bf4e
|
@ -67,6 +67,9 @@ Bug Fixes
|
||||||
|
|
||||||
* SOLR-3637: Commit Status at Core-Admin UI is always false (steffkes)
|
* 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
|
Other Changes
|
||||||
----------------------
|
----------------------
|
||||||
|
|
||||||
|
|
|
@ -776,8 +776,15 @@ sammy.get
|
||||||
}
|
}
|
||||||
$( '.name', head_element ).html( field.esc() );
|
$( '.name', head_element ).html( field.esc() );
|
||||||
|
|
||||||
|
|
||||||
|
var partial_state = false;
|
||||||
|
if( is_f )
|
||||||
|
{
|
||||||
|
partial_state = !!schema_browser_data.fields[field].partial;
|
||||||
|
}
|
||||||
|
|
||||||
$( '.partial', data_element )
|
$( '.partial', data_element )
|
||||||
.toggle( !!schema_browser_data.fields[field].partial );
|
.toggle( partial_state );
|
||||||
|
|
||||||
// -- properties
|
// -- properties
|
||||||
var properties_element = $( 'dt.properties', options_element );
|
var properties_element = $( 'dt.properties', options_element );
|
||||||
|
|
Loading…
Reference in New Issue