From: Sven Schöling Date: Wed, 18 Jan 2012 12:38:21 +0000 (+0100) Subject: L.date_tag: kalenderpicker nicht anzeigen, wenn das Feld readonly ist. X-Git-Tag: release-2.7.0beta1~36 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=3afb427511525237a3686e9b254dbe01dfb51052;p=kivitendo-erp.git L.date_tag: kalenderpicker nicht anzeigen, wenn das Feld readonly ist. --- diff --git a/SL/Template/Plugin/L.pm b/SL/Template/Plugin/L.pm index bc3808820..8d5b9f62a 100644 --- a/SL/Template/Plugin/L.pm +++ b/SL/Template/Plugin/L.pm @@ -295,7 +295,7 @@ sub date_tag { onChange => $onchange, ) : ()), %params, - ) . ((!$params{no_cal}) ? + ) . ((!$params{no_cal} && !$params{readonly}) ? $self->html_tag('img', undef, src => 'image/calendar.png', alt => $::locale->text('Calendar'),