PageForms saves form only after two clicks on "Save page" button if VEforAll is used
Probably caused by recent switch to OOUI. "'#wpSave" is now not button but span container, it has no onCLick event
Suggested fix (probably I use not the best way to select "button" element. Or even not the best place to fix the element selector because $( button ) is not button, it is span).
diff --git a/libs/PF_submit.js b/libs/PF_submit.js index 600a96e1..036e258e 100644 --- a/libs/PF_submit.js +++ b/libs/PF_submit.js @@ -225,7 +225,7 @@ event.preventDefault(); mw.pageFormsActualizeVisualEditorFields( function () { canSubmit = true; - $( button ).click(); + $( button ).children().click(); } ); } } ); -- 2.18.1