Commit 6dd17f1f authored by hirono@chromium.org's avatar hirono@chromium.org

Gallery: Disable name input when the selection is empty.

BUG=405820
TEST=manually

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

Cr-Commit-Position: refs/heads/master@{#291020}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@291020 0039d316-1c4b-4281-b951-d872f2087c98
parent 4bcd5d27
...@@ -870,6 +870,7 @@ Gallery.prototype.updateSelectionAndState_ = function() { ...@@ -870,6 +870,7 @@ Gallery.prototype.updateSelectionAndState_ = function() {
} }
} else { } else {
document.title = ''; document.title = '';
this.filenameEdit_.disabled = true;
this.filenameEdit_.value = ''; this.filenameEdit_.value = '';
this.shareButton_.hidden = true; this.shareButton_.hidden = true;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment