Skip to content

Commit

Permalink
external FS dialog provider and confirmations: fix wrong JS code gene…
Browse files Browse the repository at this point in the history
…tated
  • Loading branch information
kirillp committed Oct 10, 2024
1 parent 91dd354 commit b3b566a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public static native JsDialogButton createButton(
params = {"title", "isDefault"},
script =
"return {title:title, isDefault:isDefault, " +
"isEnabled: state => true };"
"isEnabled: state => {return true;} };"
)
public static native JsDialogButton createButton(
String title,
Expand Down

0 comments on commit b3b566a

Please sign in to comment.