You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by st...@apache.org on 2012/10/06 12:33:48 UTC
svn commit: r1394983 - in /lucene/dev/trunk/solr: CHANGES.txt
webapp/web/js/scripts/schema-browser.js
Author: steffkes
Date: Sat Oct 6 10:33:48 2012
New Revision: 1394983
URL: http://svn.apache.org/viewvc?rev=1394983&view=rev
Log:
SOLR-3917: Partial State on Schema-Browser UI is not defined for Dynamic Fields & Types
Modified:
lucene/dev/trunk/solr/CHANGES.txt
lucene/dev/trunk/solr/webapp/web/js/scripts/schema-browser.js
Modified: lucene/dev/trunk/solr/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/CHANGES.txt?rev=1394983&r1=1394982&r2=1394983&view=diff
==============================================================================
--- lucene/dev/trunk/solr/CHANGES.txt (original)
+++ lucene/dev/trunk/solr/CHANGES.txt Sat Oct 6 10:33:48 2012
@@ -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
----------------------
Modified: lucene/dev/trunk/solr/webapp/web/js/scripts/schema-browser.js
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/webapp/web/js/scripts/schema-browser.js?rev=1394983&r1=1394982&r2=1394983&view=diff
==============================================================================
--- lucene/dev/trunk/solr/webapp/web/js/scripts/schema-browser.js (original)
+++ lucene/dev/trunk/solr/webapp/web/js/scripts/schema-browser.js Sat Oct 6 10:33:48 2012
@@ -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 );