From bbb24781296854d6be87195f51d84d0f977df72f Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Mon, 27 Dec 2010 14:00:12 +0100 Subject: [PATCH] Per default alle Items unselektiert --- js/jquery.multiselect2side.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/js/jquery.multiselect2side.js b/js/jquery.multiselect2side.js index 928a3ce04..36e56b02b 100644 --- a/js/jquery.multiselect2side.js +++ b/js/jquery.multiselect2side.js @@ -99,9 +99,8 @@ $(this).find("option:selected").clone().appendTo(rightSel); $(this).find("option:not(:selected)").clone().appendTo(leftSel); - // SELECT FIRST LEFT ITEM - if (!($.browser.msie && $.browser.version == '6.0')) - leftSel.find("option").eq(0).attr("selected", true); + // Mark all unselected. + rightSel.find("option").attr("selected", false); // ON CHANGE REFRESH ALL BUTTON STATUS allSel.change(function() { -- 2.20.1