Demon has submitted this change and it was merged. Change subject: (bug 42558) Catch enter on edit form ......................................................................
(bug 42558) Catch enter on edit form On the edit form, when hitting enter in the preview text field it should preview rather than save the page. Change-Id: I2283379907e61bc1ed78e7fc78f7cbca8d639123 --- M TemplateSandbox.hooks.php M TemplateSandbox.php A modules/ext.TemplateSandbox.js 3 files changed, 21 insertions(+), 0 deletions(-) Approvals: Demon: Verified; Looks good to me, approved -- To view, visit https://gerrit.wikimedia.org/r/36113 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I2283379907e61bc1ed78e7fc78f7cbca8d639123 Gerrit-PatchSet: 2 Gerrit-Project: mediawiki/extensions/TemplateSandbox Gerrit-Branch: master Gerrit-Owner: Anomie <bjor...@wikimedia.org> Gerrit-Reviewer: Anomie <bjor...@wikimedia.org> Gerrit-Reviewer: Demon <ch...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits