From a720b7ea5c79613732a936602551666aca9dbb69 Mon Sep 17 00:00:00 2001 From: Hakim Zulkufli Date: Sun, 30 Apr 2017 20:10:34 +0800 Subject: [PATCH] Revert "Quill plugin fix." This reverts commit 84aa89a861d6f50572e895e5b851350c13c65e90. --- bl-plugins/quill/plugin.php | 46 +++++++++++-------------------------- 1 file changed, 14 insertions(+), 32 deletions(-) diff --git a/bl-plugins/quill/plugin.php b/bl-plugins/quill/plugin.php index 583b093b..7a7076de 100644 --- a/bl-plugins/quill/plugin.php +++ b/bl-plugins/quill/plugin.php @@ -56,7 +56,7 @@ class pluginQuill extends Plugin { $html .= 'getDbField('autosave')?'checked':'').'>'; $html .= ''; $html .= ''; - + $html .= '
'; $html .= ''; $html .= 'getDbField('spellChecker')?'checked':'').'>'; @@ -72,43 +72,25 @@ class pluginQuill extends Plugin { global $Language; $html = ''; - // Load CSS and JS only on Controllers in array. - if(in_array($layout['controller'], $this->loadWhenController)) - { + if( $this->enabled() ) { $html .= ' '; } return $html; } -} +} \ No newline at end of file