Gallery: Hide error when image is added/removed.
commitf5323f49131b0c99dd61f0fc64f56f40317ccbdb
authorhirono <hirono@chromium.org>
Mon, 25 May 2015 17:09:50 +0000 (25 10:09 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 25 May 2015 17:10:32 +0000 (25 17:10 +0000)
tree50b1b9f9c6dac53f014af8c2d77ab78ff480902d
parente214e82249824bd059d9a5a48387578bb678a16c
Gallery: Hide error when image is added/removed.

Gallery shows "No image" error when its model has an empty list of image, but
previously it does not hide the message when new image is added to the
model. The CL adds lines to hide the error message when item is added.

BUG=489639
TEST=None

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

Cr-Commit-Position: refs/heads/master@{#331293}
ui/file_manager/gallery/js/mosaic_mode.js
ui/file_manager/gallery/js/slide_mode.js