Skip to content

Commit

Permalink
[fix] size is not filled in
Browse files Browse the repository at this point in the history
  • Loading branch information
AIC-BV authored Jan 22, 2024
1 parent bde98dd commit 4ec18a0
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 = $('<a />'),
$container = $('#'+relationId),
requestData = paramToObj('data-request-data', $container.data('request-data'))

if (!size) {
size = 'huge'
}

newPopup.popup({
handler: 'onRelationClickViewList',
size: size,
Expand Down

0 comments on commit 4ec18a0

Please sign in to comment.