aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-04-09 12:27:36 +0200
committerMario Vavti <mario@mariovavti.com>2016-04-09 12:27:36 +0200
commit46ed79c87a23f442eadc4244b62a6f85f3d431e8 (patch)
treeb4731b0d57938a7e85a89226e9b76a1c1c524a97
parente2b4d33627d5f4cf5f68eb087059d86c78eec41e (diff)
downloadvolse-hubzilla-46ed79c87a23f442eadc4244b62a6f85f3d431e8.tar.gz
volse-hubzilla-46ed79c87a23f442eadc4244b62a6f85f3d431e8.tar.bz2
volse-hubzilla-46ed79c87a23f442eadc4244b62a6f85f3d431e8.zip
fix autocomplete for /channel and /display
-rw-r--r--mod/channel.php1
-rw-r--r--mod/display.php5
2 files changed, 5 insertions, 1 deletions
diff --git a/mod/channel.php b/mod/channel.php
index 87ced9246..2ef911bbb 100644
--- a/mod/channel.php
+++ b/mod/channel.php
@@ -133,6 +133,7 @@ function channel_content(&$a, $update = 0, $load = false) {
'bang' => '',
'visitor' => (($is_owner || $observer) ? true : false),
'profile_uid' => App::$profile['profile_uid'],
+ 'editor_autocomplete' => true,
'bbco_autocomplete' => 'bbcode',
'bbcode' => true
);
diff --git a/mod/display.php b/mod/display.php
index e4a6a0e66..ef140d454 100644
--- a/mod/display.php
+++ b/mod/display.php
@@ -65,7 +65,10 @@ function display_content(&$a, $update = 0, $load = false) {
'visitor' => true,
'profile_uid' => local_channel(),
'return_path' => 'channel/' . $channel['channel_address'],
- 'expanded' => true
+ 'expanded' => true,
+ 'editor_autocomplete' => true,
+ 'bbco_autocomplete' => 'bbcode',
+ 'bbcode' => true
);
$o = '<div id="jot-popup">';