From: Sven Schöling Date: Wed, 8 Jan 2014 12:39:16 +0000 (+0100) Subject: fokus Funktion nicht generieren ohne Inhalt X-Git-Tag: release-3.1.0beta1~22^2~22^2~11 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=701ecddce6d28fbc3383ae706ce5d9abf39a97db;p=kivitendo-erp.git fokus Funktion nicht generieren ohne Inhalt --- 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 -%]