From 701ecddce6d28fbc3383ae706ce5d9abf39a97db Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Wed, 8 Jan 2014 13:39:16 +0100 Subject: [PATCH] fokus Funktion nicht generieren ohne Inhalt --- templates/webpages/layout/javascript_setup.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/webpages/layout/javascript_setup.js b/templates/webpages/layout/javascript_setup.js index 8a060425e..7346ca3ee 100644 --- a/templates/webpages/layout/javascript_setup.js +++ b/templates/webpages/layout/javascript_setup.js @@ -27,8 +27,8 @@ $(function() { [% END %] }); -function fokus() { [%- IF focus -%] +function fokus() { $('[% focus %]').focus(); -[%- END -%] } +[%- END -%] -- 2.20.1