summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorBrian Holland <windmillway2@gmail.com>2010-06-12 06:34:01 +0000
committerBrian Holland <windmillway2@gmail.com>2010-06-12 06:34:01 +0000
commit25f4a20f29af3b37266fa13dc5c020bfd773daa6 (patch)
treec85df60fe0a452cb14a5f3593b458543ae5048e3 /modules
parent3406bdd94a101149d6c5d677e05a7b683fb50601 (diff)
downloadwebtrees-25f4a20f29af3b37266fa13dc5c020bfd773daa6.tar.gz
webtrees-25f4a20f29af3b37266fa13dc5c020bfd773daa6.tar.bz2
webtrees-25f4a20f29af3b37266fa13dc5c020bfd773daa6.zip
Fixed #592865 - Undefined index: lasttabs. - Now, after reordering media, page returns to correct tab.
Diffstat (limited to 'modules')
-rw-r--r--modules/lightbox/functions/lb_head.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/lightbox/functions/lb_head.php b/modules/lightbox/functions/lb_head.php
index 016520f349..d0c51f56f1 100644
--- a/modules/lightbox/functions/lb_head.php
+++ b/modules/lightbox/functions/lb_head.php
@@ -45,7 +45,7 @@ $reorder=safe_get('reorder', '1', '0');
<!--
function reorder_media() {
var win02 = window.open(
- "edit_interface.php?action=reorder_media&pid=<?php print $pid; ?>", "win02", "resizable=1, menubar=0, scrollbars=1, top=20, HEIGHT=840, WIDTH=450 ");
+ "edit_interface.php?action=reorder_media&pid=<?php print $pid; ?>&currtab=album", "win02", "resizable=1, menubar=0, scrollbars=1, top=20, HEIGHT=840, WIDTH=450 ");
if (window.focus) {win02.focus();}
}