X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/3c0769d8f8720ed0b9b0b81e6a6128360a70c932..7328cbd6ab400a613f6c160beffbdb3abb44c8ad:/SL/Template/Plugin/L.pm diff --git a/SL/Template/Plugin/L.pm b/SL/Template/Plugin/L.pm index 0d159dc85..b78ebb015 100644 --- a/SL/Template/Plugin/L.pm +++ b/SL/Template/Plugin/L.pm @@ -438,6 +438,7 @@ JAVASCRIPT JAVASCRIPT } + $params{handle} = '.dragdrop' unless exists $params{handle}; $attributes{handle} = "'$params{handle}'" if $params{handle}; my $attr_str = join(', ', map { "${_}: $attributes{$_}" } keys %attributes); @@ -697,9 +698,11 @@ element (see C<$params{with}>). =item C An optional jQuery selector specifying which part of the child element -is dragable. If nothing is given then the whole child element is -dragable, and clicks through to underlying elements like inputs or -links might not work. +is dragable. If the parameter is not given then it defaults to +C<.dragdrop> matching DOM elements with the class C. If the +parameter is set and empty then the whole child element is dragable, +and clicks through to underlying elements like inputs or links might +not work. =item C