hide 'undefined' error message
This commit is contained in:
parent
e774e2127d
commit
84f755a6e5
@ -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.');
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user