Merge pull request #119 from nonmakina/banListFix
Fixes unusuable mod ban list
This commit is contained in:
commit
42840a3984
|
@ -113,6 +113,7 @@ $config['mod']['move'] = MOD;
|
||||||
$config['mod']['editpost'] = MOD;
|
$config['mod']['editpost'] = MOD;
|
||||||
// Raw HTML posting
|
// Raw HTML posting
|
||||||
$config['mod']['rawhtml'] = MOD;
|
$config['mod']['rawhtml'] = MOD;
|
||||||
|
$config['mod']['mod_board_log'] = MOD;
|
||||||
|
|
||||||
$config['allow_thread_deletion'] = false;
|
$config['allow_thread_deletion'] = false;
|
||||||
|
|
||||||
|
|
|
@ -36,7 +36,6 @@ $.fn.longtable = function(fields, options, data) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
el.css("width", fields[field].width);
|
el.css("width", fields[field].width);
|
||||||
el.css("height", options.row_h);
|
|
||||||
return el;
|
return el;
|
||||||
},
|
},
|
||||||
_gen_tr: function(id) {
|
_gen_tr: function(id) {
|
||||||
|
@ -46,7 +45,6 @@ $.fn.longtable = function(fields, options, data) {
|
||||||
});
|
});
|
||||||
if (id !== undefined) {
|
if (id !== undefined) {
|
||||||
el.addClass("row").addClass("row_"+id);
|
el.addClass("row").addClass("row_"+id);
|
||||||
el.css({position: "absolute", top: options.row_h * (id+1)});
|
|
||||||
}
|
}
|
||||||
return el;
|
return el;
|
||||||
},
|
},
|
||||||
|
@ -128,7 +126,6 @@ $.fn.longtable = function(fields, options, data) {
|
||||||
},
|
},
|
||||||
|
|
||||||
update_data: function() {
|
update_data: function() {
|
||||||
$(elem).height((data.length + 1) * options.row_h);
|
|
||||||
|
|
||||||
lt._clean();
|
lt._clean();
|
||||||
lt.update_viewport();
|
lt.update_viewport();
|
||||||
|
|
Loading…
Reference in New Issue