Conditions | 1 |
Paths | 1 |
Total Lines | 28 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | /*! |
||
16 | _onDomReady: function () { |
||
17 | var self = this; |
||
18 | |||
19 | this.jWrapper = $("#" + this.get('id')); |
||
20 | |||
21 | this.jHidden = $(".sx-sortable-hidden", this.jWrapper); |
||
22 | this.jVisible = $(".sx-sortable-visible", this.jWrapper); |
||
23 | |||
24 | this.jElement = $(".sx-select-element", this.jWrapper); |
||
25 | |||
26 | this.jHidden.sortable({ |
||
27 | //items: "li:not(.ui-state-disabled)" |
||
28 | connectWith: "." + this.get('id') + "-conncected", |
||
29 | dropOnEmpty: false, |
||
30 | out: function() { |
||
31 | self._update(); |
||
32 | } |
||
33 | }); |
||
34 | |||
35 | this.jVisible.sortable({ |
||
36 | /*cancel: ".ui-state-disabled",*/ |
||
37 | connectWith: "." + this.get('id') + "-conncected", |
||
38 | dropOnEmpty: false, |
||
39 | out: function() { |
||
40 | self._update(); |
||
41 | } |
||
42 | }); |
||
43 | }, |
||
44 | |||
63 | })(sx, sx.$, sx._); |
||
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.