]> wagnertech.de Git - kivitendo-erp.git/commitdiff
fokus Funktion nicht generieren ohne Inhalt
authorSven Schöling <s.schoeling@linet-services.de>
Wed, 8 Jan 2014 12:39:16 +0000 (13:39 +0100)
committerSven Schöling <s.schoeling@linet-services.de>
Wed, 8 Jan 2014 12:39:16 +0000 (13:39 +0100)
templates/webpages/layout/javascript_setup.js

index 8a060425e6af4561d0e1683ba651f41462c1ca90..7346ca3eebfad529ab46142d12637ab508ad568e 100644 (file)
@@ -27,8 +27,8 @@ $(function() {
 [% END %]
 });
 
 [% END %]
 });
 
-function fokus() {
 [%- IF focus -%]
 [%- IF focus -%]
+function fokus() {
   $('[% focus %]').focus();
   $('[% focus %]').focus();
-[%- END -%]
 }
 }
+[%- END -%]