| Conditions | 1 |
| Paths | 1 |
| Total Lines | 18 |
| Code Lines | 14 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | /* |
||
| 10 | $(function () { |
||
| 11 | $("#sortable1, #sortable2").sortable({ |
||
| 12 | connectWith: "ol.eapmethods", |
||
| 13 | tolerance: 'pointer', |
||
| 14 | out: function (event, ui) { |
||
| 15 | ui.item.toggleClass("eap1"); |
||
| 16 | }, |
||
| 17 | stop: function (event, ui) { |
||
| 18 | $(".eapm").removeAttr('value'); |
||
| 19 | $(".eapmv").removeAttr('value'); |
||
| 20 | $("#sortable1").children().each(function (index) { |
||
| 21 | var v = $(this).html(); |
||
| 22 | $("#EAP-" + v).val(v); |
||
| 23 | $("#EAP-" + v + "-priority").val(index + 1); |
||
| 24 | }); |
||
| 25 | } |
||
| 26 | }).disableSelection(); |
||
| 27 | }); |
||
| 28 |
This check looks for parameters in functions that are not used in the function body and are not followed by other parameters which are used inside the function.