fix(share): fixed PNG render link generated from share modal when opened from edit mode, fixes #5295

This commit is contained in:
Torkel Ödegaard
2016-06-17 14:03:59 +02:00
parent 9f9fca1e76
commit 9bcd5de8ff

View File

@@ -75,7 +75,7 @@ function (angular, _, require, config) {
var soloUrl = $scope.shareUrl;
soloUrl = soloUrl.replace(config.appSubUrl + '/dashboard/', config.appSubUrl + '/dashboard-solo/');
soloUrl = soloUrl.replace("&fullscreen", "");
soloUrl = soloUrl.replace("&fullscreen", "").replace("&edit", "");
$scope.iframeHtml = '<iframe src="' + soloUrl + '" width="450" height="200" frameborder="0"></iframe>';