Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(265)

Unified Diff: chrome/browser/resources/options/content_settings_exceptions_area.js

Issue 6155008: DOMUI: Implement the new Fonts and Encoding page. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review fix 3. Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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];
« no previous file with comments | « chrome/browser/resources/options/chromeos_proxy_rules_list.js ('k') | chrome/browser/resources/options/font_settings.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698