Revision bbb24781
Von Moritz Bunkus vor fast 14 Jahren hinzugefügt
js/jquery.multiselect2side.js | ||
---|---|---|
99 | 99 |
$(this).find("option:selected").clone().appendTo(rightSel); |
100 | 100 |
$(this).find("option:not(:selected)").clone().appendTo(leftSel); |
101 | 101 |
|
102 |
// SELECT FIRST LEFT ITEM |
|
103 |
if (!($.browser.msie && $.browser.version == '6.0')) |
|
104 |
leftSel.find("option").eq(0).attr("selected", true); |
|
102 |
// Mark all unselected. |
|
103 |
rightSel.find("option").attr("selected", false); |
|
105 | 104 |
|
106 | 105 |
// ON CHANGE REFRESH ALL BUTTON STATUS |
107 | 106 |
allSel.change(function() { |
Auch abrufbar als: Unified diff
Per default alle Items unselektiert