Skip to content

Commit b057e67

Browse files
author
Stefanie Hein
committed
Merge branch 'workflow-emails-popover-72169'
* workflow-emails-popover-72169: Add compiled code Add compiled code FormPopover: add optional CSS class to the popover, if the FormPopover has a class. See #72169
2 parents 800d09a + 1084921 commit b057e67

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

public/cui.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45436,6 +45436,9 @@ CUI.FormPopover = (function(superClass) {
4543645436
pop_opts["class"] = "";
4543745437
}
4543845438
pop_opts["class"] += " cui-form-popover-popover";
45439+
if (this.__class) {
45440+
pop_opts["class"] += " " + this.__class + "-popover";
45441+
}
4543945442
return pop_opts;
4544045443
};
4544145444

public/cui.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/elements/FormPopover/FormPopover.coffee

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,10 @@ class CUI.FormPopover extends CUI.Form
205205

206206
if CUI.util.isEmpty(pop_opts.class)
207207
pop_opts.class = ""
208-
pop_opts.class += " cui-form-popover-popover"
208+
pop_opts.class += " cui-form-popover-popover"
209+
210+
if @__class
211+
pop_opts.class += " " + @__class + "-popover"
209212
# console.debug "getPopoverOpts", pop_opts
210213
pop_opts
211214

0 commit comments

Comments
 (0)