diff --git a/web/skins/classic/views/montage.php b/web/skins/classic/views/montage.php
index 853e80490..f4f0f8e6f 100644
--- a/web/skins/classic/views/montage.php
+++ b/web/skins/classic/views/montage.php
@@ -52,8 +52,10 @@ $heights = array(
$layouts = ZM\MontageLayout::find(NULL, array('order'=>"lower('Name')"));
$layoutsById = array();
+$FreeFormLayoutId = 0;
foreach ( $layouts as $l ) {
if ( $l->Name() == 'Freeform' ) {
+ $FreeFormLayoutId = $l->Id();
$layoutsById[$l->Id()] = $l;
break;
}
@@ -201,11 +203,11 @@ if (canView('System')) {
- 'width', 'data-on-change-this'=>'changeWidth')); ?>
+ 'width', 'data-on-change'=>'changeWidth')); ?>
- 'height', 'data-on-change-this'=>'changeHeight')); ?>
+ 'height', 'data-on-change'=>'changeHeight')); ?>