CEify itemPane
This commit is contained in:
parent
827bcd704d
commit
b2ad17d604
45 changed files with 2081 additions and 1637 deletions
|
@ -856,7 +856,7 @@ describe("Zotero.ItemTree", function() {
|
|||
yield itemsView.selectItem(attachment.id);
|
||||
yield Zotero.Promise.delay();
|
||||
|
||||
var box = win.document.getElementById('zotero-item-pane-top-buttons-my-publications');
|
||||
var box = win.document.getElementById('zotero-item-pane-my-publications-button');
|
||||
assert.isFalse(box.hidden);
|
||||
});
|
||||
|
||||
|
@ -872,8 +872,9 @@ describe("Zotero.ItemTree", function() {
|
|||
|
||||
yield itemsView.selectItem(attachment.id);
|
||||
|
||||
var box = win.document.getElementById('zotero-item-pane-top-buttons-my-publications');
|
||||
assert.isTrue(box.hidden);
|
||||
var box = win.document.getElementById('zotero-item-pane-my-publications-button');
|
||||
// box is not created if it shouldn't show
|
||||
assert.isNull(box);
|
||||
});
|
||||
});
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue