]> wagnertech.de Git - mfinanz.git/blobdiff - SL/ClientJS.pm
ClientJS: Kommentar korrigiert
[mfinanz.git] / SL / ClientJS.pm
index d4775b83083160f97054e8cd324be8992367f7cd..c6e22f3d5d325764af6dde8d01aa52786d8dac2c 100644 (file)
@@ -150,9 +150,8 @@ sub action {
   }
 
   foreach my $idx (0..$num_args - 1) {
-    # Force flattening from SL::Presenter::EscapedText and trim leading whitespace for scalars
+    # Force flattening from SL::Presenter::EscapedText.
     $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 ];