From 462ccf53d570998aa56c0ba83cfe49ec6369dd35 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Fri, 6 Apr 2007 16:09:54 +0000 Subject: [PATCH] Remove debug lines --- chrome/content/zotero/overlay.js | 1 - chrome/content/zotero/xpcom/itemTreeView.js | 4 ---- 2 files changed, 5 deletions(-) diff --git a/chrome/content/zotero/overlay.js b/chrome/content/zotero/overlay.js index 55d6b6147..46e6fb2f8 100644 --- a/chrome/content/zotero/overlay.js +++ b/chrome/content/zotero/overlay.js @@ -585,7 +585,6 @@ var ZoteroPane = new function() this.itemsView = new Zotero.ItemTreeView(itemgroup); this.itemsView.addCallback(_setTagScope); document.getElementById('zotero-items-tree').view = this.itemsView; - Zotero.debug('crashdebug6'); this.itemsView.selection.clearSelection(); Zotero.UnresponsiveScriptIndicator.enable(); } diff --git a/chrome/content/zotero/xpcom/itemTreeView.js b/chrome/content/zotero/xpcom/itemTreeView.js index d84459363..7f064d6cb 100644 --- a/chrome/content/zotero/xpcom/itemTreeView.js +++ b/chrome/content/zotero/xpcom/itemTreeView.js @@ -425,7 +425,6 @@ Zotero.ItemTreeView.prototype.notify = function(action, type, ids) this.selectItem(ids[0]); } else { - Zotero.debug('crashdebug1'); this.rememberSelection(savedSelection); } } @@ -437,7 +436,6 @@ Zotero.ItemTreeView.prototype.notify = function(action, type, ids) else { this._refreshHashMap(); } - Zotero.debug('crashdebug2') this.rememberSelection(savedSelection); } @@ -640,7 +638,6 @@ Zotero.ItemTreeView.prototype.cycleHeader = function(column) this.selection.selectEventsSuppressed = true; var savedSelection = this.saveSelection(); this.sort(); - Zotero.debug('crashdebug3') this.rememberSelection(savedSelection); this.selection.selectEventsSuppressed = false; this._treebox.invalidate(); @@ -1024,7 +1021,6 @@ Zotero.ItemTreeView.prototype.setFilter = function(type, data) { this.rememberOpenState(savedOpenState); this.rememberFirstRow(savedFirstRow); - Zotero.debug('crashdebug4') this.rememberSelection(savedSelection); this.selection.selectEventsSuppressed = false; this._treebox.invalidate();