From 16a70cd597457c80a7aee1e1a22a08ca1c2337e8 Mon Sep 17 00:00:00 2001 From: jlukic Date: Mon, 15 Jun 2015 12:22:29 -0400 Subject: [PATCH] Fix issue where userAdditions failed to recreate element when using single selection --- src/definitions/modules/dropdown.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/definitions/modules/dropdown.js b/src/definitions/modules/dropdown.js index ba97fab90..fc5fe1c1c 100644 --- a/src/definitions/modules/dropdown.js +++ b/src/definitions/modules/dropdown.js @@ -1374,6 +1374,10 @@ $.fn.dropdown = function(parameters) { var values = module.get.values() ; + values = $.isArray(values) + ? values + : [values] + ; if(!values) { return false; }