From 4ec18a03d3a228f68561a3ffe136f2b13c17de12 Mon Sep 17 00:00:00 2001 From: AIC BV <89913092+AIC-BV@users.noreply.github.com> Date: Mon, 22 Jan 2024 16:42:58 +0100 Subject: [PATCH] [fix] size is not filled in --- .../relationcontroller/assets/js/winter.relation.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/modules/backend/behaviors/relationcontroller/assets/js/winter.relation.js b/modules/backend/behaviors/relationcontroller/assets/js/winter.relation.js index 5b3d1e9219..3b9df4075d 100644 --- a/modules/backend/behaviors/relationcontroller/assets/js/winter.relation.js +++ b/modules/backend/behaviors/relationcontroller/assets/js/winter.relation.js @@ -9,11 +9,15 @@ $(el).closest('.control-list').listWidget('toggleChecked', [el]) } - this.clickViewListRecord = function(recordId, relationId, sessionKey, size = 'huge', cssClass = '') { + this.clickViewListRecord = function(recordId, relationId, sessionKey, size, cssClass) { var newPopup = $(''), $container = $('#'+relationId), requestData = paramToObj('data-request-data', $container.data('request-data')) + if (!size) { + size = 'huge' + } + newPopup.popup({ handler: 'onRelationClickViewList', size: size,