Skip to content

Commit

Permalink
fixing another ie8 bug where a for in loop caused "undefined" to appe…
Browse files Browse the repository at this point in the history
…ar in the widget list
  • Loading branch information
timo-bes committed Mar 21, 2013
1 parent c1aaffa commit 485f537
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/Dashboard/templates/widgetMenu.js
Expand Up @@ -273,7 +273,7 @@ widgetsHelper.getEmptyWidgetHtml = function (uniqueId, widgetName)
var widgetList = createWidgetList(),
widgetPreviewTimer;

for(var j in widgets) {
for (var j = 0; j < widgets.length; j++) {
var widgetName = widgets[j]["name"];
var widgetUniqueId = widgets[j]["uniqueId"];
var widgetParameters = widgets[j]["parameters"];
Expand Down

0 comments on commit 485f537

Please sign in to comment.