From fa2a02c27fe93c36f970c56b18570c7362728369 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Tue, 12 Jul 2022 17:32:32 -0400 Subject: [PATCH] Add UserId to js side layouts so we can check it --- web/skins/classic/views/js/montage.js.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/web/skins/classic/views/js/montage.js.php b/web/skins/classic/views/js/montage.js.php index 1684a16d8..b5a4af51f 100644 --- a/web/skins/classic/views/js/montage.js.php +++ b/web/skins/classic/views/js/montage.js.php @@ -36,7 +36,10 @@ layouts[0] = {}; // reserved, should hold which fields to clear when transitioni global $layouts; foreach ( $layouts as $layout ) { ?> -layouts[Id() ?>] = {"Name":"Name()?>","Positions":Positions())?$layout->Positions():'{}' ?>}; +layouts[Id() ?>] = { + "Name":"Name()?>", + "UserId":"UserId()?>", + "Positions":Positions())?$layout->Positions():'{}' ?>};