mirror of
https://github.com/apache/lucene.git
synced 2025-02-08 19:15:06 +00:00
SOLR-12997: Fix broken link on admin Stream panel
This commit is contained in:
parent
d17c6d8897
commit
a0788a7b5e
@ -59,9 +59,8 @@ solrAdminApp.controller('StreamController',
|
|||||||
|
|
||||||
$scope.lang = "json";
|
$scope.lang = "json";
|
||||||
$scope.response = data;
|
$scope.response = data;
|
||||||
$scope.url = $location.protocol() + "://" +
|
$scope.url = url;
|
||||||
$location.host() + ":" +
|
$scope.hostPortContext = $location.absUrl().substr(0,$location.absUrl().indexOf("#")); // For display only
|
||||||
$location.port() + url;
|
|
||||||
|
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
@ -34,7 +34,7 @@ limitations under the License.
|
|||||||
|
|
||||||
<div id="result">
|
<div id="result">
|
||||||
|
|
||||||
<a ng-show="response.data" id="url" class="address-bar" ng-href="{{url}}">{{url}}</a>
|
<a ng-show="response.data" id="url" class="address-bar" ng-href="{{url}}">{{hostPortContext}}{{url}}</a>
|
||||||
|
|
||||||
<div ng-show="showExplanation" id="explanation" class="clearfix">
|
<div ng-show="showExplanation" id="explanation" class="clearfix">
|
||||||
<div id="frame">
|
<div id="frame">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user