From 46ed79c87a23f442eadc4244b62a6f85f3d431e8 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Sat, 9 Apr 2016 12:27:36 +0200 Subject: fix autocomplete for /channel and /display --- mod/channel.php | 1 + mod/display.php | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) 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 = '
'; -- cgit v1.2.3