SOLR-3238: fix logging page to work with multicore setup

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1327377 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Ryan McKinley 2012-04-18 05:12:50 +00:00
parent 98b5f9048a
commit eb92d7ac88
1 changed files with 2 additions and 1 deletions

View File

@ -228,7 +228,8 @@ sammy.get
/^#\/~(logging)$/, /^#\/~(logging)$/,
function( context ) function( context )
{ {
loglevel_path = app_config.solr_path + '/admin/logging'; var core_basepath = $( 'li[data-basepath]', app.menu_element ).attr( 'data-basepath' );
loglevel_path = core_basepath + '/admin/logging';
var content_element = $( '#content' ); var content_element = $( '#content' );
content_element content_element