From: Sven Schöling Date: Mon, 24 Nov 2014 10:26:48 +0000 (+0100) Subject: PartPicker: Bessere Beschreibung zum das javascript include X-Git-Tag: release-3.2.0beta~236 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=c89986ac6447c14ebf351047b9441bcbf5637e76;p=kivitendo-erp.git PartPicker: Bessere Beschreibung zum das javascript include --- 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