mirror of https://github.com/apache/lucene.git
SOLR-3788: Admin Cores UI should redirect to newly created core details
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1389984 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
096eef9cde
commit
62caa1d692
|
@ -41,6 +41,9 @@ New Features
|
|||
Optimizations
|
||||
----------------------
|
||||
|
||||
* SOLR-3788: Admin Cores UI should redirect to newly created core details
|
||||
(steffkes)
|
||||
|
||||
Bug Fixes
|
||||
----------------------
|
||||
|
||||
|
|
|
@ -326,6 +326,12 @@ sammy.get
|
|||
|
||||
var 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();
|
||||
|
|
Loading…
Reference in New Issue