From: Moritz Bunkus Date: Mon, 27 Dec 2010 13:01:03 +0000 (+0100) Subject: Namen der Original-Select auf "Ausgewählt"-Select umziehen X-Git-Tag: release-2.6.2beta1~64^2~16 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=38ef906377d48f5bce5c2df79d3dd2dea2accb38;p=kivitendo-erp.git Namen der Original-Select auf "Ausgewählt"-Select umziehen --- diff --git a/js/jquery.multiselect2side.js b/js/jquery.multiselect2side.js index 36e56b02b..00ebe9b29 100644 --- a/js/jquery.multiselect2side.js +++ b/js/jquery.multiselect2side.js @@ -32,9 +32,11 @@ if (originalName.indexOf('[') != -1) originalName = originalName.substring(0, originalName.indexOf('[')); - var nameDx = originalName + "ms2side__dx"; + var nameDx = $(this).attr("name"); + var idDx = originalName + "ms2side__dx"; var nameSx = originalName + "ms2side__sx"; var size = $(this).attr("size"); + $(this).attr("name", originalName + "ms2side__orig"); // SIZE MIN if (size < 6) { $(this).attr("size", "6"); @@ -75,7 +77,7 @@ "" + "
" + (o.labeldx ? ("
" + o.labeldx + "
") : "") + - "" + + "" + "
" + ((o.selectedPosition == 'right' && o.moveOptions) ? divUpDown : "") + "";