ClientJS: Values nicht trimmen
[kivitendo-erp.git] / SL / ClientJS.pm
index d4775b8..c12b9ea 100644 (file)
@@ -152,7 +152,6 @@ sub action {
   foreach my $idx (0..$num_args - 1) {
     # Force flattening from SL::Presenter::EscapedText and trim leading whitespace for scalars
     $args[$idx] =  "" . $args[$idx] if  ref($args[$idx]) eq 'SL::Presenter::EscapedText';
-    $args[$idx] =~ s/^\s+//         if !ref($args[$idx]);
   }
 
   push @{ $self->_actions }, [ $method, @args ];