2012-05-15 22:31:36 -07:00
|
|
|
|
2017-03-01 20:31:41 +01:00
|
|
|
function openClose(theID) {
|
|
|
|
if (document.getElementById(theID).style.display == "block") {
|
|
|
|
document.getElementById(theID).style.display = "none"
|
|
|
|
} else {
|
|
|
|
document.getElementById(theID).style.display = "block"
|
|
|
|
}
|
|
|
|
}
|
2012-05-15 22:31:36 -07:00
|
|
|
|
2017-03-01 20:31:41 +01:00
|
|
|
function openMenu(theID) {
|
|
|
|
document.getElementById(theID).style.display = "block"
|
|
|
|
}
|
2012-05-15 22:31:36 -07:00
|
|
|
|
2017-03-01 20:31:41 +01:00
|
|
|
function closeMenu(theID) {
|
|
|
|
document.getElementById(theID).style.display = "none"
|
|
|
|
}
|
2012-05-15 22:31:36 -07:00
|
|
|
|
2017-03-01 20:31:41 +01:00
|
|
|
function commentOpen(obj,id) {
|
|
|
|
if (obj.value == 'Comment') {
|
|
|
|
obj.value = '';
|
|
|
|
obj.className = "comment-edit-text-full";
|
|
|
|
openMenu("comment-edit-submit-wrapper-" + id);
|
2012-05-15 22:31:36 -07:00
|
|
|
}
|
2017-03-01 20:31:41 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
function commentClose(obj,id) {
|
|
|
|
if (obj.value == '') {
|
|
|
|
obj.value = 'Comment';
|
|
|
|
obj.className="comment-edit-text-empty";
|
|
|
|
closeMenu("comment-edit-submit-wrapper-" + id);
|
2012-05-15 22:31:36 -07:00
|
|
|
}
|
2017-03-01 20:31:41 +01:00
|
|
|
}
|