aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authormarijus <mario@mariovavti.com>2014-09-11 12:42:16 +0200
committermarijus <mario@mariovavti.com>2014-09-11 12:42:16 +0200
commit5e54f470978e8208c000476faa009434fc98d3f8 (patch)
treed7c7d2c3bcc7b612a6f8665b0474c02b25d0865e /mod
parent15ef4fea78803400891a68e7591bafce145eedb8 (diff)
downloadvolse-hubzilla-5e54f470978e8208c000476faa009434fc98d3f8.tar.gz
volse-hubzilla-5e54f470978e8208c000476faa009434fc98d3f8.tar.bz2
volse-hubzilla-5e54f470978e8208c000476faa009434fc98d3f8.zip
content-complete must not be in photo-album-contents
Diffstat (limited to 'mod')
-rw-r--r--mod/photos.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/mod/photos.php b/mod/photos.php
index 9ce8ceb50..e50afd557 100644
--- a/mod/photos.php
+++ b/mod/photos.php
@@ -753,8 +753,11 @@ function photos_content(&$a) {
}
}
if($_REQUEST['aj']) {
- if(! $r)
+ if(! $r) {
$ajaxout .= '<div id="content-complete"></div>';
+ echo $ajaxout;
+ killme();
+ }
echo '<div id="photo-album-contents-' . $a->pager['page'] . '">';
echo $ajaxout;