Apache Lucene open-source search software
SOLR-3788: Admin Cores UI should redirect to newly created core details
Stefan Matheis62caa1d6924a
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txtindex 0f592e295db..e10b3d29c44 100644--- a/solr/CHANGES.txt+++ b/solr/CHANGES.txt@@ -41,6 +41,9 @@ New FeaturesOptimizations----------------------+* SOLR-3788: Admin Cores UI should redirect to newly created core details+ (steffkes)+Bug Fixes----------------------diff --git a/solr/webapp/web/js/scripts/cores.js b/solr/webapp/web/js/scripts/cores.jsindex cf5cf1c5d96..150197e340b 100644--- a/solr/webapp/web/js/scripts/cores.js+++ b/solr/webapp/web/js/scripts/cores.js@@ -326,6 +326,12 @@ sammy.getvar form_callback = {+ create : function( form, response )+ {+ var url = path_parts[1] + response.core;+ context.redirect( url );+ },+rename : function( form, response ){var url = path_parts[1] + $( 'input[name="other"]', form ).val();