From f26f40c04956f3fb429fcd0d98346aff38ba8c05 Mon Sep 17 00:00:00 2001 From: Jessica Wang Date: Wed, 27 Oct 2010 18:13:19 -0700 Subject: [PATCH] new UI - fix a bug "$iconContainer is not found" --- ui/new/scripts/cloud.core2.js | 4 ++-- ui/new/scripts/cloud.core2.resource.js | 10 ++++++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/ui/new/scripts/cloud.core2.js b/ui/new/scripts/cloud.core2.js index 13062744207..d5b548fefd4 100644 --- a/ui/new/scripts/cloud.core2.js +++ b/ui/new/scripts/cloud.core2.js @@ -856,7 +856,7 @@ function listMidMenuItems2(commandString, jsonResponse1, jsonResponse2, toMidmen enableMultipleSelectionInMidMenu(); else disableMultipleSelectionInMidMenu(); - + var count = 0; $.ajax({ cache: false, @@ -865,7 +865,7 @@ function listMidMenuItems2(commandString, jsonResponse1, jsonResponse2, toMidmen async: false, success: function(json) { selectedItemsInMidMenu = {}; - var items = json[jsonResponse1][jsonResponse2]; + var items = json[jsonResponse1][jsonResponse2]; if(items != null && items.length > 0) { for(var i=0; i