BookmarkManager: Fix 'new folder text field size changes on clicking it' issue.
commitc7ef8642f55e6f13fdb16824b9122e8e05ab228a
authorlimasdf <limasdf@gmail.com>
Tue, 22 Sep 2015 02:21:43 +0000 (21 19:21 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 22 Sep 2015 02:22:32 +0000 (22 02:22 +0000)
treeec5f8f6949a1ff25e2e73ab6c128b4af4aaa4d4e
parent394057986ff5d00a841a976f3bd8d599603acaa1
BookmarkManager: Fix 'new folder text field size changes on clicking it' issue.

Fixing regression issue generated by https://crrev.com/349550.
Previous patch updates bmm.list.parentId to get correct command info.
Because of changing bmm.list.parentId, callback function is called at an unwanted time.

To fix this, holding the previous bmm.list.parentId value and use it when calling callback.

BUG=533341, 534256
TEST=manual(adding folder, deleting leaf node folder)

Review URL: https://codereview.chromium.org/1360493003

Cr-Commit-Position: refs/heads/master@{#350093}
chrome/browser/resources/bookmark_manager/js/main.js