From 369a4787333ad6d5bb4d019b48796eae857936cc Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Mon, 25 Jan 2016 19:16:19 +0000 Subject: [PATCH] Avoid duplication of global categories due to integer values --- etemplate/js/et2_widget_selectbox.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etemplate/js/et2_widget_selectbox.js b/etemplate/js/et2_widget_selectbox.js index a5721a656f..a4a0ad9bd3 100644 --- a/etemplate/js/et2_widget_selectbox.js +++ b/etemplate/js/et2_widget_selectbox.js @@ -927,7 +927,7 @@ jQuery.extend(et2_selectbox, // Override any existing for(var j in type_options) { - if(type_options[j].value === value) + if(''+type_options[j].value === ''+value) { added = true; type_options[j] = content_options[i];