diff --git a/bi/core.js b/bi/core.js index b780c8226e..bc36f84a65 100644 --- a/bi/core.js +++ b/bi/core.js @@ -4673,7 +4673,7 @@ BI.Widget = BI.inherit(BI.OB, { widget = name; name = widget.getName(); } - if(BI.isKey(name)){ + if (BI.isKey(name)) { name = name + ""; } name = name || widget.getName() || BI.uniqueId("widget"); diff --git a/dist/core.js b/dist/core.js index 5eee9353d0..18bd9eefae 100644 --- a/dist/core.js +++ b/dist/core.js @@ -14585,7 +14585,7 @@ BI.Widget = BI.inherit(BI.OB, { widget = name; name = widget.getName(); } - if(BI.isKey(name)){ + if (BI.isKey(name)) { name = name + ""; } name = name || widget.getName() || BI.uniqueId("widget"); diff --git a/src/core/widget.js b/src/core/widget.js index ef35c0f534..2f4f3d3902 100644 --- a/src/core/widget.js +++ b/src/core/widget.js @@ -249,7 +249,7 @@ BI.Widget = BI.inherit(BI.OB, { widget = name; name = widget.getName(); } - if(BI.isKey(name)){ + if (BI.isKey(name)) { name = name + ""; } name = name || widget.getName() || BI.uniqueId("widget");