From 563e5a704c2529e08377a3399f84e2980296bf2e Mon Sep 17 00:00:00 2001 From: Ian Date: Tue, 14 Oct 2014 15:25:55 +0200 Subject: [PATCH] init plugin nuggets when not using default JS-Editor The hook btw is useless here, since it is already called at https://github.com/s9y/Serendipity/blob/2.0/include/functions_plugins_admin.inc.php#L640 We should remove it here in the tpl. --- templates/2k11/admin/plugin_config.tpl | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/templates/2k11/admin/plugin_config.tpl b/templates/2k11/admin/plugin_config.tpl index 9b3bfa89..ff9d32fa 100644 --- a/templates/2k11/admin/plugin_config.tpl +++ b/templates/2k11/admin/plugin_config.tpl @@ -58,4 +58,15 @@ {/if} {if $spawnNuggets} {serendipity_hookPlugin hook="backend_wysiwyg_nuggets" eventData=$ev hookAll=true} + + {if $ev['skip_nuggets'] === false && $init !== false} + + {/if} {/if}