From 7764bb50aaec6eb55a0f51e177c1d72f1d9c8ebc Mon Sep 17 00:00:00 2001 From: Benjamin Southall Date: Thu, 4 May 2017 13:58:38 +0900 Subject: [PATCH] use data-board value for form submission for board so that quick posting / replies works from ukko, ukko2, ukko3 and other overboad extensions / themes --- js/quick-post-controls.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/quick-post-controls.js b/js/quick-post-controls.js index 62dfa1e0..3751b4cf 100644 --- a/js/quick-post-controls.js +++ b/js/quick-post-controls.js @@ -40,9 +40,10 @@ $(document).ready(function(){ '' + ''); if($('form[name="post"]:first').size()){ + var board=$(this).parent().parent().parent().attr("data-board"); post_form .attr('action', $('form[name="post"]:first').attr('action')) - .append($('input[name=board]:first').clone()); + .append(''); }else{ var board=$(this).parent().parent().parent().attr("data-board"); if(board){