Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 7328cbd6

Von Moritz Bunkus vor mehr als 13 Jahren hinzugefügt

  • ID 7328cbd6ab400a613f6c160beffbdb3abb44c8ad
  • Vorgänger 3c0769d8
  • Nachfolger 93be9aa2

Per default Drag&Drop nur auf Item mit Klasse 'dragdrop' zulassen

Unterschiede anzeigen:

SL/Template/Plugin/L.pm
438 438
JAVASCRIPT
439 439
  }
440 440

  
441
  $params{handle}     = '.dragdrop' unless exists $params{handle};
441 442
  $attributes{handle} = "'$params{handle}'" if $params{handle};
442 443

  
443 444
  my $attr_str = join(', ', map { "${_}: $attributes{$_}" } keys %attributes);
......
697 698
=item C<handle>
698 699

  
699 700
An optional jQuery selector specifying which part of the child element
700
is dragable. If nothing is given then the whole child element is
701
dragable, and clicks through to underlying elements like inputs or
702
links might not work.
701
is dragable. If the parameter is not given then it defaults to
702
C<.dragdrop> matching DOM elements with the class C<dragdrop>.  If the
703
parameter is set and empty then the whole child element is dragable,
704
and clicks through to underlying elements like inputs or links might
705
not work.
703 706

  
704 707
=item C<dont_recolor>
705 708

  

Auch abrufbar als: Unified diff