summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources/history.js
diff options
context:
space:
mode:
authorqghc36@motorola.com <qghc36@motorola.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-19 10:12:52 +0000
committerqghc36@motorola.com <qghc36@motorola.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-19 10:12:52 +0000
commitc7c8e7773c5da5d24db24ba5a93c831957b65eca (patch)
treee9f6e20878ac119c47c587e5de41fb704994dd08 /chrome/browser/resources/history.js
parent6810b1ecc9fcd838a77c96eb019ea93c43f14c02 (diff)
downloadchromium_src-c7c8e7773c5da5d24db24ba5a93c831957b65eca.zip
chromium_src-c7c8e7773c5da5d24db24ba5a93c831957b65eca.tar.gz
chromium_src-c7c8e7773c5da5d24db24ba5a93c831957b65eca.tar.bz2
History: Disable the 'remove' button after it's clicked.
BUG=73197 TEST=Remove an item from history and check that the remove button should be brought back to disabled state when no more items are selected for deletion. Review URL: http://codereview.chromium.org/8341006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106261 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/resources/history.js')
-rw-r--r--chrome/browser/resources/history.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/resources/history.js b/chrome/browser/resources/history.js
index e06d5ed..09b02ca7 100644
--- a/chrome/browser/resources/history.js
+++ b/chrome/browser/resources/history.js
@@ -998,6 +998,7 @@ function removeItems() {
if (confirm(localStrings.getString('deletewarning'))) {
deleteQueue = deleteQueue.concat(queue);
deleteNextInQueue();
+ historyView.removeButton_.disabled = true;
} else {
// If the remove is cancelled, return the checkboxes to their
// enabled, non-line-through state.