Index: chrome/browser/resources/options/personal_options.js |
=================================================================== |
--- chrome/browser/resources/options/personal_options.js (revision 105485) |
+++ chrome/browser/resources/options/personal_options.js (working copy) |
@@ -61,7 +61,8 @@ |
var selectedProfile = profilesList.selectedItem; |
var hasSelection = selectedProfile != null; |
var hasSingleProfile = profilesList.dataModel.length == 1; |
- $('profiles-manage').disabled = !hasSelection; |
+ $('profiles-manage').disabled = !hasSelection || |
+ !selectedProfile.isCurrentProfile; |
$('profiles-delete').disabled = !hasSingleProfile && !hasSelection; |
}; |
$('profiles-create').onclick = function(event) { |