From 85f3a48744413528ee4658fb43e616252c553bdc Mon Sep 17 00:00:00 2001 From: Jessica Wang Date: Mon, 13 Dec 2010 13:50:21 -0800 Subject: [PATCH] creating new item in middle menu - put newly added item on the top instead of on the bottom. --- ui/scripts/cloud.core.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/scripts/cloud.core.js b/ui/scripts/cloud.core.js index 67167fe1b2f..fe08ae7167a 100644 --- a/ui/scripts/cloud.core.js +++ b/ui/scripts/cloud.core.js @@ -664,7 +664,7 @@ function beforeAddingMidMenuItem() { $midmenuItem1.find("#content").addClass("inaction"); $midmenuItem1.find("#spinning_wheel").show(); $midmenuItem1.find("#info_icon").removeClass("error").hide(); - $("#midmenu_container").append($midmenuItem1.show()); + $("#midmenu_container").prepend($midmenuItem1.show()); return $midmenuItem1; } function afterAddingMidMenuItem($midmenuItem1, isSuccessful, extraMessage) {