Skip to content

Commit e748c48

Browse files
committed
Additional compatibility fixes.
1 parent e87b2fa commit e748c48

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

event/listener_helper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ public function assign_template_variables_for_qr($forum_id)
256256
'S_QR_QUICKQUOTE_ENABLE' => $this->config['qr_quickquote'],
257257
'S_QR_QUICKQUOTE_LINK' => $this->config['qr_quickquote_link'],
258258
'S_QR_FULL_QUOTE' => $this->config['qr_full_quote'],
259-
'S_QR_CE_ENABLE' => $this->config['qr_ctrlenter'],
259+
'S_QR_CE_ENABLE' => $this->qr_ctrlenter_enabled(),
260260
'QR_SOURCE_POST' => $this->config['qr_source_post'],
261261
'S_DISPLAY_USERNAME' => !$this->user->data['is_registered'],
262262

styles/prosilver/template/quickreply_core.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -597,6 +597,8 @@
597597
}
598598
// else qr_ajax_error();
599599
}
600+
/* Fix for phpBB 3.1.9 */
601+
$(quickreply.editor.mainForm).find('input[data-clicked]').removeAttr('data-clicked');
600602
});
601603
}
602604

styles/prosilver/template/quickreply_plugins.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
/***********************/
3232
/* Fix for phpBB 3.1.9 */
3333
/***********************/
34-
$(quickreply.editor.mainForm).submit(function (event) {
34+
$(quickreply.editor.mainForm).submit(function () {
3535
if (!$(this).find('input[type="submit"][data-clicked]').length) {
3636
$(this).find('input[name="post"]').attr('data-clicked', 'true');
3737
}

0 commit comments

Comments
 (0)