From c89986ac6447c14ebf351047b9441bcbf5637e76 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Mon, 24 Nov 2014 11:26:48 +0100 Subject: [PATCH] PartPicker: Bessere Beschreibung zum das javascript include --- SL/Presenter/Part.pm | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/SL/Presenter/Part.pm b/SL/Presenter/Part.pm index 1091667bf..a10340727 100644 --- a/SL/Presenter/Part.pm +++ b/SL/Presenter/Part.pm @@ -120,9 +120,11 @@ Obsolete parts will by default not displayed for selection. However they are accepted as default values and can persist during updates. As with other selectors though, they are not selectable once overridden. -Currently you must include C in old bin/mozilla-style -controllers if C<<$form->header>> is called before the template. In all other -cases, C will add the javascript for you. +C will register it's javascript for inclusion in the next header +rendering. If you write a standard controller that only call C once, it +will just work. In case the header is generated in a different render call +(multiple blocks, ajax, old C style controllers) you need to +include C yourself. =back -- 2.20.1