X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FForm.pm;h=fbd1d8554fe86ca666c921e31fff5b5f189c2d22;hb=fb1e65086b66bac948150bbc1e8fd6e300c21823;hp=55b6f695dc0abd257f3fec7ca6591af8eeee6d34;hpb=9fc09e82e0029be8a42c67d6414e33daf2a3eba8;p=kivitendo-erp.git
diff --git a/SL/Form.pm b/SL/Form.pm
index 55b6f695d..fbd1d8554 100644
--- a/SL/Form.pm
+++ b/SL/Form.pm
@@ -672,15 +672,20 @@ sub header {
| if $self->{"fokus"};
- my $title_hack = qq|
-
- |;
-
+ # if there is a title, we put some JavaScript in to the page, wich writes a
+ # meaningful title-tag for our frameset.
+ my $title_hack;
+ if ($self->{"title"}){
+ $title_hack = qq|
+
+ |;
+ }
+
#Set Calendar
my $jsscript = "";
if ($self->{jsscript} == 1) {