Desktop changes

This commit is contained in:
Mo Bitar
2018-12-10 18:03:57 -06:00
parent a656918332
commit 99958f7f86
11 changed files with 1592 additions and 1554 deletions

View File

@@ -125,6 +125,8 @@ class ComponentView {
expired = component.valid_until && component.valid_until <= new Date();
// expired = true;
$scope.componentValid = !offlineRestricted && !urlError && !expired;
if(offlineRestricted) $scope.error = 'offline-restricted';

View File

@@ -981,10 +981,7 @@ class ComponentManager {
if(!iframe) {
return;
}
var width = data.width;
var height = data.height;
iframe.width = width;
iframe.height = height;
setSize(iframe, data);
// On Firefox, resizing a component iframe does not seem to have an effect with editor-stack extensions.