From: rabuzarus <>
Date: Thu, 12 May 2016 23:26:07 +0000 (+0200)
Subject: photos view: fix js error with undefined variable
X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=6944d67dbc2399abd7b65da07952b16c8178d3a5;p=friendica.git
photos view: fix js error with undefined variable
---
diff --git a/mod/photos.php b/mod/photos.php
index 4761b627d8..7d4e2de59c 100644
--- a/mod/photos.php
+++ b/mod/photos.php
@@ -1079,6 +1079,10 @@ function photos_content(&$a) {
$o = "";
+ // js variables for liveUpdate function in main.js
+ $o .= "\r\n";
+
// tabs
$is_owner = (local_user() && (local_user() == $owner_uid));
$o .= profile_tabs($a,$is_owner, $a->data['user']['nickname']);
diff --git a/view/templates/photo_view.tpl b/view/templates/photo_view.tpl
index 847b623ebe..b85a1c2f53 100644
--- a/view/templates/photo_view.tpl
+++ b/view/templates/photo_view.tpl
@@ -1,5 +1,5 @@
-
+
diff --git a/view/theme/frost-mobile/templates/photo_view.tpl b/view/theme/frost-mobile/templates/photo_view.tpl
index 8d92b7ba79..a5fb2f0415 100644
--- a/view/theme/frost-mobile/templates/photo_view.tpl
+++ b/view/theme/frost-mobile/templates/photo_view.tpl
@@ -1,5 +1,5 @@
-
+
diff --git a/view/theme/frost/templates/photo_view.tpl b/view/theme/frost/templates/photo_view.tpl
index 8d92b7ba79..a5fb2f0415 100644
--- a/view/theme/frost/templates/photo_view.tpl
+++ b/view/theme/frost/templates/photo_view.tpl
@@ -1,5 +1,5 @@
-
+
diff --git a/view/theme/quattro/templates/photo_view.tpl b/view/theme/quattro/templates/photo_view.tpl
index 463969e78e..f4a780a0ac 100644
--- a/view/theme/quattro/templates/photo_view.tpl
+++ b/view/theme/quattro/templates/photo_view.tpl
@@ -1,4 +1,4 @@
-
+
diff --git a/view/theme/vier/templates/photo_view.tpl b/view/theme/vier/templates/photo_view.tpl
index fcf0cc36d1..c252960c08 100644
--- a/view/theme/vier/templates/photo_view.tpl
+++ b/view/theme/vier/templates/photo_view.tpl
@@ -1,5 +1,5 @@
-
+