mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-10-26 19:15:09 +00:00
Fix description editor initially empty (#26795)
Defer behaviorShim.applySubtree until after dialog is shown
This commit is contained in:
1 parent
ce830a6516
commit
9c477dbc60
1 file changed
+1
-1
@@ -84,7 +84,7 @@ Dialog.prototype.init = function () {
|
||||
if (this.options.form != null && this.dialogType === "form") {
|
||||
this.form = this.options.form;
|
||||
content.appendChild(this.options.form);
|
||||
behaviorShim.applySubtree(content, true);
|
||||
setTimeout(() => behaviorShim.applySubtree(content, true));
|
||||
}
|
||||
if (this.dialogType !== "form") {
|
||||
if (this.options.content != null && this.dialogType === "alert") {
|
||||
|
||||
Reference in new issue
Block a user