Remove debug lines
This commit is contained in:
parent
ea5bbdd2c8
commit
462ccf53d5
|
@ -585,7 +585,6 @@ var ZoteroPane = new function()
|
||||||
this.itemsView = new Zotero.ItemTreeView(itemgroup);
|
this.itemsView = new Zotero.ItemTreeView(itemgroup);
|
||||||
this.itemsView.addCallback(_setTagScope);
|
this.itemsView.addCallback(_setTagScope);
|
||||||
document.getElementById('zotero-items-tree').view = this.itemsView;
|
document.getElementById('zotero-items-tree').view = this.itemsView;
|
||||||
Zotero.debug('crashdebug6');
|
|
||||||
this.itemsView.selection.clearSelection();
|
this.itemsView.selection.clearSelection();
|
||||||
Zotero.UnresponsiveScriptIndicator.enable();
|
Zotero.UnresponsiveScriptIndicator.enable();
|
||||||
}
|
}
|
||||||
|
|
|
@ -425,7 +425,6 @@ Zotero.ItemTreeView.prototype.notify = function(action, type, ids)
|
||||||
this.selectItem(ids[0]);
|
this.selectItem(ids[0]);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
Zotero.debug('crashdebug1');
|
|
||||||
this.rememberSelection(savedSelection);
|
this.rememberSelection(savedSelection);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -437,7 +436,6 @@ Zotero.ItemTreeView.prototype.notify = function(action, type, ids)
|
||||||
else {
|
else {
|
||||||
this._refreshHashMap();
|
this._refreshHashMap();
|
||||||
}
|
}
|
||||||
Zotero.debug('crashdebug2')
|
|
||||||
this.rememberSelection(savedSelection);
|
this.rememberSelection(savedSelection);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -640,7 +638,6 @@ Zotero.ItemTreeView.prototype.cycleHeader = function(column)
|
||||||
this.selection.selectEventsSuppressed = true;
|
this.selection.selectEventsSuppressed = true;
|
||||||
var savedSelection = this.saveSelection();
|
var savedSelection = this.saveSelection();
|
||||||
this.sort();
|
this.sort();
|
||||||
Zotero.debug('crashdebug3')
|
|
||||||
this.rememberSelection(savedSelection);
|
this.rememberSelection(savedSelection);
|
||||||
this.selection.selectEventsSuppressed = false;
|
this.selection.selectEventsSuppressed = false;
|
||||||
this._treebox.invalidate();
|
this._treebox.invalidate();
|
||||||
|
@ -1024,7 +1021,6 @@ Zotero.ItemTreeView.prototype.setFilter = function(type, data) {
|
||||||
|
|
||||||
this.rememberOpenState(savedOpenState);
|
this.rememberOpenState(savedOpenState);
|
||||||
this.rememberFirstRow(savedFirstRow);
|
this.rememberFirstRow(savedFirstRow);
|
||||||
Zotero.debug('crashdebug4')
|
|
||||||
this.rememberSelection(savedSelection);
|
this.rememberSelection(savedSelection);
|
||||||
this.selection.selectEventsSuppressed = false;
|
this.selection.selectEventsSuppressed = false;
|
||||||
this._treebox.invalidate();
|
this._treebox.invalidate();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user