Skip to content

Commit

Permalink
Update popup.js
Browse files Browse the repository at this point in the history
  • Loading branch information
AIC-BV authored Jan 22, 2024
1 parent 5708357 commit 72c6238
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion modules/system/assets/ui/js/popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@
content: null,
size: null,
adaptiveHeight: false,
zIndex: null
zIndex: null,
cssClass: null
}

Popup.prototype.init = function(){
Expand Down Expand Up @@ -207,6 +208,9 @@
if (this.options.adaptiveHeight)
modalDialog.addClass('adaptive-height')

if (this.options.cssClass)
modalDialog.addClass(this.options.cssClass)

if (this.options.zIndex !== null)
modal.css('z-index', this.options.zIndex + 20)

Expand Down

0 comments on commit 72c6238

Please sign in to comment.