fix a bug - if adding an item fails and appears in red, the next successfully added item appear in red, too. (after this fix, the next successfully added item will appear in green).

This commit is contained in:
Jessica Wang 2010-12-02 11:57:00 -08:00
parent 87320056bd
commit 87737248f6
1 changed files with 1 additions and 1 deletions

View File

@ -655,7 +655,7 @@ function isMiddleMenuShown() {
// adding middle menu item ***
function beforeAddingMidMenuItem() {
var $midmenuItem1 = $("#midmenu_item").clone();
var $midmenuItem1 = $("#midmenu_item").clone().attr("id", "midmenu_item_clone");
$midmenuItem1.find("#first_row").text("Adding....");
$midmenuItem1.find("#second_row").html(" ");
$midmenuItem1.find("#content").addClass("inaction");