Changeset 3709:c88e69474c34 for themes/ductile/_prepend.php
- Timestamp:
- 02/18/18 18:16:29 (7 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
themes/ductile/_prepend.php
r3531 r3709 37 37 <script type="text/javascript"> 38 38 $(function() { 39 $( "#stickerslist").sortable({'cursor':'move'});40 $( "#stickerslist tr").hover(function () {39 $('#stickerslist').sortable({'cursor':'move'}); 40 $('#stickerslist tr').hover(function () { 41 41 $(this).css({'cursor':'move'}); 42 42 }, function () { … … 45 45 $('#theme_config').submit(function() { 46 46 var order=[]; 47 $( "#stickerslist tr td input.position").each(function() {47 $('#stickerslist tr td input.position').each(function() { 48 48 order.push(this.name.replace(/^order\[([^\]]+)\]$/,'$1')); 49 49 }); 50 $( "input[name=ds_order]")[0].value = order.join(',');50 $('input[name=ds_order]')[0].value = order.join(','); 51 51 return true; 52 52 }); 53 $( "#stickerslist tr td input.position").hide();54 $( "#stickerslist tr td.handle").addClass('handler');53 $('#stickerslist tr td input.position').hide(); 54 $('#stickerslist tr td.handle').addClass('handler'); 55 55 }); 56 56 </script>
Note: See TracChangeset
for help on using the changeset viewer.