aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-09-11 15:09:57 -0700
committerFriendika <info@friendika.com>2011-09-11 15:09:57 -0700
commit0e441fe19618ab40722e79dfe531ae5a181fc990 (patch)
treec0b03870eefda4517bd8c5e9dce105e227382b2a /include
parent0c0a60439648c1ab0980cb309a73a3dd7e96eeb9 (diff)
downloadvolse-hubzilla-0e441fe19618ab40722e79dfe531ae5a181fc990.tar.gz
volse-hubzilla-0e441fe19618ab40722e79dfe531ae5a181fc990.tar.bz2
volse-hubzilla-0e441fe19618ab40722e79dfe531ae5a181fc990.zip
bug #147 comments not working on private notes page
Diffstat (limited to 'include')
-rw-r--r--include/conversation.php2
-rw-r--r--include/main.js1
2 files changed, 2 insertions, 1 deletions
diff --git a/include/conversation.php b/include/conversation.php
index 8ff8c9743..6aad2485a 100644
--- a/include/conversation.php
+++ b/include/conversation.php
@@ -111,7 +111,7 @@ function conversation(&$a, $items, $mode, $update) {
}
if($mode === 'notes') {
- $profile_owner = $a->profile['profile_uid'];
+ $profile_owner = local_user();
$page_writeable = true;
}
diff --git a/include/main.js b/include/main.js
index d59c99223..9929c336f 100644
--- a/include/main.js
+++ b/include/main.js
@@ -116,6 +116,7 @@
if($('#live-network').length) { src = 'network'; liveUpdate(); }
if($('#live-profile').length) { src = 'profile'; liveUpdate(); }
if($('#live-community').length) { src = 'community'; liveUpdate(); }
+ if($('#live-notes').length) { src = 'notes'; liveUpdate(); }
if($('#live-display').length) {
if(liking) {
liking = 0;