You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ry...@apache.org on 2012/04/18 07:12:51 UTC
svn commit: r1327377 -
/lucene/dev/trunk/solr/webapp/web/js/scripts/logging.js
Author: ryan
Date: Wed Apr 18 05:12:50 2012
New Revision: 1327377
URL: http://svn.apache.org/viewvc?rev=1327377&view=rev
Log:
SOLR-3238: fix logging page to work with multicore setup
Modified:
lucene/dev/trunk/solr/webapp/web/js/scripts/logging.js
Modified: lucene/dev/trunk/solr/webapp/web/js/scripts/logging.js
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/webapp/web/js/scripts/logging.js?rev=1327377&r1=1327376&r2=1327377&view=diff
==============================================================================
--- lucene/dev/trunk/solr/webapp/web/js/scripts/logging.js (original)
+++ lucene/dev/trunk/solr/webapp/web/js/scripts/logging.js Wed Apr 18 05:12:50 2012
@@ -228,7 +228,8 @@ sammy.get
/^#\/~(logging)$/,
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' );
content_element