Index: chrome/browser/resources/options/content_settings_exceptions_area.js |
diff --git a/chrome/browser/resources/options/content_settings_exceptions_area.js b/chrome/browser/resources/options/content_settings_exceptions_area.js |
index da67d0131addabede11bb365230f1659978ec921..5a0e788f38a2966eb16ee2d62086e4b4fdcc7470 100644 |
--- a/chrome/browser/resources/options/content_settings_exceptions_area.js |
+++ b/chrome/browser/resources/options/content_settings_exceptions_area.js |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2010 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
@@ -513,10 +513,8 @@ cr.define('options.contentSettings', function() { |
/** @inheritDoc */ |
deleteItemAtIndex: function(index) { |
var listItem = this.getListItemByIndex(index); |
- if (listItem.undeletable) { |
- console.log('Tried to delete an undeletable row.'); |
+ if (listItem.undeletable) |
return; |
- } |
var dataItem = listItem.dataItem; |
var args = [listItem.contentType]; |