diff options
| author | Brian Holland <windmillway2@gmail.com> | 2010-06-12 06:34:01 +0000 |
|---|---|---|
| committer | Brian Holland <windmillway2@gmail.com> | 2010-06-12 06:34:01 +0000 |
| commit | 25f4a20f29af3b37266fa13dc5c020bfd773daa6 (patch) | |
| tree | c85df60fe0a452cb14a5f3593b458543ae5048e3 /modules | |
| parent | 3406bdd94a101149d6c5d677e05a7b683fb50601 (diff) | |
| download | webtrees-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.php | 2 |
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();} } |
