proper look for disabled "-" icon on new item

This commit is contained in:
Simon Kornblith 2009-09-14 09:24:21 +00:00
parent cc93621678
commit 4f48210682
2 changed files with 2 additions and 2 deletions

View File

@ -691,12 +691,12 @@
// Minus (-) button // Minus (-) button
var removeButton = document.createElement('label'); var removeButton = document.createElement('label');
removeButton.setAttribute("value","-"); removeButton.setAttribute("value","-");
removeButton.setAttribute("class","zotero-clicky");
// If default first row, don't let user remove it // If default first row, don't let user remove it
if (defaultRow) { if (defaultRow) {
this.disableButton(removeButton); this.disableButton(removeButton);
} }
else { else {
removeButton.setAttribute("class","zotero-clicky");
removeButton.setAttribute("onclick", removeButton.setAttribute("onclick",
"document.getBindingParent(this).removeCreator(" "document.getBindingParent(this).removeCreator("
+ this._creatorCount + this._creatorCount

View File

@ -172,7 +172,7 @@ zoteromergepane {
border: 0px !important; border: 0px !important;
} }
.zotero-clicky[value="+"][disabled=true] { .zotero-clicky[value="+"][disabled=true], .zotero-clicky[value="-"][disabled=true] {
opacity: .5; opacity: .5;
} }