mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
Merge remote-tracking branch 'prototech/ticket/12640' into develop-ascraeus
* prototech/ticket/12640: [ticket/12640] Preserve the active tab when previewing in posting page.
This commit is contained in:
@@ -117,6 +117,7 @@ jQuery(document).ready(function() {
|
||||
if (typeof(p) === 'string') {
|
||||
show_panel = p;
|
||||
}
|
||||
$('input[name="show_panel"]').val(show_panel);
|
||||
|
||||
for (i = 0; i < panels.length; i++) {
|
||||
jQuery('#' + panels[i]).css('display', panels[i] === show_panel ? 'block' : 'none');
|
||||
|
Reference in New Issue
Block a user