1
1
Fork 0

photos view: fix js error with undefined variable

This commit is contained in:
rabuzarus 2016-05-13 01:26:07 +02:00
parent 0b4565a72c
commit 6944d67dbc
6 changed files with 9 additions and 5 deletions

View file

@ -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']);

View file

@ -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">

View file

@ -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">

View file

@ -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">

View file

@ -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">

View file

@ -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">