Merge pull request #3471 from FinnStutzenstein/hideWrongErrorMessageInProjector
hide 'undefined' error message
This commit is contained in:
commit
969274faf3
@ -126,6 +126,7 @@ angular.module('OpenSlidesApp.core.projector', ['OpenSlidesApp.core'])
|
|||||||
// delay displaying the error message, because with a slow internet
|
// delay displaying the error message, because with a slow internet
|
||||||
// connection, the autoupdate with the projector may be delayed. We
|
// connection, the autoupdate with the projector may be delayed. We
|
||||||
// de not want to irritate the user by showing this error to early.
|
// de not want to irritate the user by showing this error to early.
|
||||||
|
$scope.error = '';
|
||||||
$timeout(function () {
|
$timeout(function () {
|
||||||
if ($scope.showError) {
|
if ($scope.showError) {
|
||||||
$scope.error = gettext('Can not open the projector.');
|
$scope.error = gettext('Can not open the projector.');
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
<script src="static/js/openslides.js"></script>
|
<script src="static/js/openslides.js"></script>
|
||||||
<script src="static/js/openslides-templates.js"></script>
|
<script src="static/js/openslides-templates.js"></script>
|
||||||
|
|
||||||
<div class="pContainer" ng-controller="ProjectorContainerCtrl">
|
<div class="pContainer" ng-controller="ProjectorContainerCtrl" ng-cloak>
|
||||||
<div>
|
<div>
|
||||||
<style>
|
<style>
|
||||||
.pContainer #iframe {
|
.pContainer #iframe {
|
||||||
|
Loading…
Reference in New Issue
Block a user