Commit d3e11cab by Torkel Ödegaard

Fixed link to server side rendered panel

parent 37ba2511
...@@ -69,12 +69,9 @@ function (angular, _) { ...@@ -69,12 +69,9 @@ function (angular, _) {
}); });
$scope.shareUrl = baseUrl + "?" + paramsArray.join('&'); $scope.shareUrl = baseUrl + "?" + paramsArray.join('&');
// var baseUrl = 'http://localhost:3000'; $scope.imageUrl = $scope.shareUrl.replace('/dashboard/db/', '/render/dashboard/solo/');
// $scope.shareUrl = baseUrl + '/dashboard/db/' + $routeParams.id + "?" + paramsArray.join('&') ; $scope.imageUrl += '&width=1000';
$scope.imageUrl += '&height=500';
// paramsArray.push('width=1000');
// paramsArray.push('height=500');
// $scope.imageUrl = baseUrl + '/render/dashboard/solo/' + $routeParams.id + '?' + paramsArray.join('&') ;
$timeout(function() { $timeout(function() {
var input = $element.find('[data-share-panel-url]'); var input = $element.find('[data-share-panel-url]');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment