pixl-xyapp 2.1.27 → 2.1.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/js/tools.js +2 -1
- package/package.json +1 -1
package/js/tools.js
CHANGED
|
@@ -329,7 +329,8 @@ function render_menu_options(items, sel_values, auto_add) {
|
|
|
329
329
|
var sel_map = {};
|
|
330
330
|
|
|
331
331
|
if (!sel_values) sel_values = [];
|
|
332
|
-
if (
|
|
332
|
+
if (!Array.isArray(sel_values)) sel_values = [sel_values];
|
|
333
|
+
sel_values = sel_values.map( String );
|
|
333
334
|
|
|
334
335
|
for (var idx = 0, len = items.length; idx < len; idx++) {
|
|
335
336
|
var item = items[idx];
|
package/package.json
CHANGED