Skip to content

Commit

Permalink
Update winter.relation.js
Browse files Browse the repository at this point in the history
  • Loading branch information
AIC-BV authored Jan 22, 2024
1 parent b078572 commit 21edb7f
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,15 @@
$(el).closest('.control-list').listWidget('toggleChecked', [el])
}

this.clickViewListRecord = function(recordId, relationId, sessionKey) {
this.clickViewListRecord = function(recordId, relationId, sessionKey, size = 'huge', cssClass = '') {
var newPopup = $('<a />'),
$container = $('#'+relationId),
requestData = paramToObj('data-request-data', $container.data('request-data'))

newPopup.popup({
handler: 'onRelationClickViewList',
size: 'huge',
size: size,
cssClass: cssClass,
extraData: $.extend({}, requestData, {
'manage_id': recordId,
'_session_key': sessionKey
Expand Down

0 comments on commit 21edb7f

Please sign in to comment.