* UI/WebServerResources/ContactsUI.js: Enable 'show raw source' only

when a single contact is selected.

Monotone-Parent: 4e287287380938e20234ac951c09158c324b84b4
Monotone-Revision: 7ec57a209bc7361239e0e096f134affbbd4b5fc2

Monotone-Author: jraby@inverse.ca
Monotone-Date: 2012-07-09T14:52:47
This commit is contained in:
Jean Raby
2012-07-09 14:52:47 +00:00
parent 71121914cf
commit 22690a8f8f
+3 -1
View File
@@ -1198,7 +1198,9 @@ function onContactMenuPrepareVisibility() {
rawOption.removeClassName("disabled");
}
if (contactRows.length != 1)
rawOption.addClassName("disabled");
return true;
}