use data-board value for form submission for board so that quick posting / replies works from ukko, ukko2, ukko3 and other overboad extensions / themes
This commit is contained in:
parent
83989bba88
commit
7764bb50aa
@ -40,9 +40,10 @@ $(document).ready(function(){
|
||||
'</div>' +
|
||||
'</form>');
|
||||
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('<input type="hidden" value="'+board+'" name="board" />');
|
||||
}else{
|
||||
var board=$(this).parent().parent().parent().attr("data-board");
|
||||
if(board){
|
||||
|
Loading…
Reference in New Issue
Block a user