From: Michael M Slusarz Date: Fri, 16 Apr 2010 22:30:59 +0000 (-0600) Subject: setValue() does all the work needed for us X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=c8ac8960362f4f1e89d3e23b3723aa5689eefd55;p=horde.git setValue() does all the work needed for us --- diff --git a/horde/js/identityselect.js b/horde/js/identityselect.js index 5975298af..19685cc73 100644 --- a/horde/js/identityselect.js +++ b/horde/js/identityselect.js @@ -22,15 +22,6 @@ var HordeIdentitySelect = { var field = $(a[0]); switch (a[1]) { - case "enum": - for (var j = 0; j < field.options.length; ++j) { - if (field.options[j].value == a[2]) { - field.selectedIndex = j; - break; - } - } - break; - case "special": identity.fire('HordeIdentitySelect:change', { i: id,