Commit 0cb5c0cf authored by csilv@chromium.org's avatar csilv@chromium.org

dom-ui options: Remove special casing for Mac passwords, all platforms should use the same UI.

BUG=none
TEST=Verify that the 'Show Passwords' button displays the passwords panel in dom-ui.
Review URL: http://codereview.chromium.org/3149025

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56935 0039d316-1c4b-4281-b951-d872f2087c98
parent 305162ce
...@@ -46,18 +46,11 @@ cr.define('options', function() { ...@@ -46,18 +46,11 @@ cr.define('options', function() {
} }
}); });
$('showpasswords').onclick = function(event) {
if(cr.isMac) { PasswordsExceptions.load();
$('showpasswords').onclick = function(event) { OptionsPage.showPageByName('passwordsExceptions');
//TODO(sargrass): Add the Mac implementation OptionsPage.showTab($('passwords-nav-tab'));
} };
} else {
$('showpasswords').onclick = function(event) {
PasswordsExceptions.load();
OptionsPage.showPageByName('passwordsExceptions');
OptionsPage.showTab($('passwords-nav-tab'));
};
}
$('autofill_options').onclick = function(event) { $('autofill_options').onclick = function(event) {
OptionsPage.showPageByName('autoFillOptions'); OptionsPage.showPageByName('autoFillOptions');
......
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