hide 'undefined' error message

This commit is contained in:
FinnStutzenstein 2017-11-03 10:25:22 +01:00
parent e774e2127d
commit 84f755a6e5
2 changed files with 2 additions and 1 deletions

View File

@ -126,6 +126,7 @@ angular.module('OpenSlidesApp.core.projector', ['OpenSlidesApp.core'])
// delay displaying the error message, because with a slow internet
// connection, the autoupdate with the projector may be delayed. We
// de not want to irritate the user by showing this error to early.
$scope.error = '';
$timeout(function () {
if ($scope.showError) {
$scope.error = gettext('Can not open the projector.');

View File

@ -13,7 +13,7 @@
<script src="static/js/openslides.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>
<style>
.pContainer #iframe {