Skip to content

Commit e87b2fa

Browse files
committed
Fix form submission.
1 parent a9d351a commit e87b2fa

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

styles/prosilver/template/quickreply_plugins.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,15 @@
2828
});
2929
}
3030

31+
/***********************/
32+
/* Fix for phpBB 3.1.9 */
33+
/***********************/
34+
$(quickreply.editor.mainForm).submit(function (event) {
35+
if (!$(this).find('input[type="submit"][data-clicked]').length) {
36+
$(this).find('input[name="post"]').attr('data-clicked', 'true');
37+
}
38+
});
39+
3140
/**************************************/
3241
/* Quick Quote and Full Quote Plugins */
3342
/**************************************/

0 commit comments

Comments
 (0)