photos view: fix js error with undefined variable
This commit is contained in:
parent
0b4565a72c
commit
6944d67dbc
|
@ -1079,6 +1079,10 @@ function photos_content(&$a) {
|
|||
|
||||
$o = "";
|
||||
|
||||
// js variables for liveUpdate function in main.js
|
||||
$o .= "<script> var profile_uid = " . $a->profile_uid
|
||||
. "; var netargs = '?f='; var profile_page = " . $a->pager['page'] . "; </script>\r\n";
|
||||
|
||||
// tabs
|
||||
$is_owner = (local_user() && (local_user() == $owner_uid));
|
||||
$o .= profile_tabs($a,$is_owner, $a->data['user']['nickname']);
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
<div id="live-display"></div>
|
||||
<div id="live-photos"></div>
|
||||
<h3><a href="{{$album.0}}">{{$album.1}}</a></h3>
|
||||
|
||||
<div id="photo-edit-link-wrap">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
<div id="live-display"></div>
|
||||
<div id="live-photos"></div>
|
||||
<h3><a href="{{$album.0}}">{{$album.1}}</a></h3>
|
||||
|
||||
<div id="photo-edit-link-wrap">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
<div id="live-display"></div>
|
||||
<div id="live-photos"></div>
|
||||
<h3><a href="{{$album.0}}">{{$album.1}}</a></h3>
|
||||
|
||||
<div id="photo-edit-link-wrap">
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<div id="live-display"></div>
|
||||
<div id="live-photos"></div>
|
||||
<h3 id="photo-album-title"><a href="{{$album.0}}">{{$album.1}}</a></h3>
|
||||
|
||||
<div id="photo-edit-link-wrap">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
<div id="live-display"></div>
|
||||
<div id="live-photos"></div>
|
||||
<h3><a href="{{$album.0}}">{{$album.1}}</a></h3>
|
||||
|
||||
<div id="photo-edit-link-wrap">
|
||||
|
|
Loading…
Reference in a new issue