diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt index 29d60d0357c..56d10e89c60 100644 --- a/solr/CHANGES.txt +++ b/solr/CHANGES.txt @@ -141,6 +141,8 @@ Bug Fixes * SOLR-8596: Web UI doesn't correctly generate queries which include local parameters (Alexandre Rafalovitch, janhoy) +* SOLR-8645: managed-schema is now syntax highlighted in cloud->Tree view (Alexandre Rafalovitch via janhoy) + Optimizations ---------------------- diff --git a/solr/webapp/web/js/angular/controllers/cloud.js b/solr/webapp/web/js/angular/controllers/cloud.js index c150c5a21ff..2d0dae0860b 100644 --- a/solr/webapp/web/js/angular/controllers/cloud.js +++ b/solr/webapp/web/js/angular/controllers/cloud.js @@ -55,6 +55,11 @@ var treeSubController = function($scope, Zookeeper) { var path = data.znode.path.split( '.' ); if(path.length >1) { $scope.lang = path.pop(); + } else { + var lastPathElement = data.znode.path.split( '/' ).pop(); + if (lastPathElement == "managed-schema") { + $scope.lang = "xml"; + } } $scope.showData = true; });