summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcsilv@chromium.org <csilv@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-15 17:36:04 +0000
committercsilv@chromium.org <csilv@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-15 17:36:04 +0000
commitdf363e00ac815c4e231b41898e84885dbf59bb48 (patch)
treec7574c9efda888fdae28e609d0dc592fe54d21d9
parent65eae551d648e8ec04187ed22ed141a1151cb21c (diff)
downloadchromium_src-df363e00ac815c4e231b41898e84885dbf59bb48.zip
chromium_src-df363e00ac815c4e231b41898e84885dbf59bb48.tar.gz
chromium_src-df363e00ac815c4e231b41898e84885dbf59bb48.tar.bz2
web-ui settings: Fix setting enabled state of commit button.
BUG=78683 TEST=Verify that commit button is always disabled when there are no browsers to import from. Review URL: http://codereview.chromium.org/6873010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81761 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/resources/options/import_data_overlay.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/resources/options/import_data_overlay.js b/chrome/browser/resources/options/import_data_overlay.js
index d764a07..b87ff7d 100644
--- a/chrome/browser/resources/options/import_data_overlay.js
+++ b/chrome/browser/resources/options/import_data_overlay.js
@@ -166,8 +166,8 @@ cr.define('options', function() {
ImportDataOverlay.getInstance().updateCheckboxes_();
}
$('import-browsers').disabled = state;
- $('import-data-commit').disabled = state;
$('import-throbber').style.visibility = state ? "visible" : "hidden";
+ ImportDataOverlay.getInstance().validateCommitButton_();
};
/**