Use always '/' at the end of projector url.
e.g. '/projector/1/' or '/real-projetor/1/'
This commit is contained in:
parent
2a42368157
commit
0eb4f67a48
@ -266,7 +266,7 @@ angular.module('OpenSlidesApp.core.site', [
|
||||
},
|
||||
})
|
||||
.state('projector', {
|
||||
url: '/projector/{id:int}',
|
||||
url: '/projector/{id:int}/',
|
||||
templateUrl: 'static/templates/projector-container.html',
|
||||
data: {extern: true},
|
||||
onEnter: function($window) {
|
||||
@ -274,7 +274,7 @@ angular.module('OpenSlidesApp.core.site', [
|
||||
}
|
||||
})
|
||||
.state('real-projector', {
|
||||
url: '/real-projector/{id:int}',
|
||||
url: '/real-projector/{id:int}/',
|
||||
templateUrl: 'static/templates/projector.html',
|
||||
data: {extern: true},
|
||||
onEnter: function($window) {
|
||||
|
@ -125,7 +125,7 @@
|
||||
|
||||
<a ui-sref="projector({id: projector.id})" target="_blank">
|
||||
<div class="iframewrapper" id="iframewrapper_{{ projector.id }}">
|
||||
<iframe class="iframe" id="iframe_{{ projector.id }}" ng-src="{{ '/real-projector/' + projector.id }}" frameborder="0"></iframe>
|
||||
<iframe class="iframe" id="iframe_{{ projector.id }}" ng-src="{{ '/real-projector/' + projector.id + '/' }}" frameborder="0"></iframe>
|
||||
<div class="iframeoverlay" id="iframeoverlay_{{ projector.id }}"></div>
|
||||
</div>
|
||||
</a>
|
||||
|
@ -78,7 +78,7 @@
|
||||
|
||||
<a ui-sref="projector({id: active_projector.id })" target="_blank">
|
||||
<div class="iframewrapper" id="iframewrapper_sidebar">
|
||||
<iframe class="iframe" id="iframe_sidebar" ng-src="{{ '/real-projector/' + active_projector.id }}" frameborder="0"></iframe>
|
||||
<iframe class="iframe" id="iframe_sidebar" ng-src="{{ '/real-projector/' + active_projector.id + '/'}}" frameborder="0"></iframe>
|
||||
<div class="iframeoverlay" id="iframeoverlay_sidebar"></div>
|
||||
</div>
|
||||
</a>
|
||||
|
@ -39,7 +39,7 @@
|
||||
</style>
|
||||
|
||||
<div id="iframewrapper" ng-hide="error">
|
||||
<iframe id="iframe" ng-src="{{ '/real-projector/' + projectorId }}" frameborder="0"></iframe>
|
||||
<iframe id="iframe" ng-src="{{ '/real-projector/' + projectorId + '/'}}" frameborder="0"></iframe>
|
||||
<div id="iframeoverlay"></div>
|
||||
</div>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user