content-complete must not be in photo-album-contents

This commit is contained in:
marijus 2014-09-11 12:42:16 +02:00
parent 15ef4fea78
commit 5e54f47097

View File

@ -753,8 +753,11 @@ function photos_content(&$a) {
} }
} }
if($_REQUEST['aj']) { if($_REQUEST['aj']) {
if(! $r) if(! $r) {
$ajaxout .= '<div id="content-complete"></div>'; $ajaxout .= '<div id="content-complete"></div>';
echo $ajaxout;
killme();
}
echo '<div id="photo-album-contents-' . $a->pager['page'] . '">'; echo '<div id="photo-album-contents-' . $a->pager['page'] . '">';
echo $ajaxout; echo $ajaxout;