Sha256: 228b6f7fe4a92239510aed06a11ce3a2bd1107b71796bfaa9750783a87e60caa
Contents?: true
Size: 1.45 KB
Versions: 3
Compression:
Stored size: 1.45 KB
Contents
/* This file contains javascripts to manipulate the UI */ function showReply(post) { return true; /* DISABLE THIS FOR NOW, IT DOESN'T WORK RIGHT */ postreply = document.getElementById('post_reply_' + post); document.getElementById("postreply_" + post).style.display = 'block'; postreply.innerHTML = 'Cancel Reply'; postreply.onclick = new Function("return hideReply('" + post + "')"); document.getElementById('comment_subject_' + post).focus(); return false; } function hideReply(post) { postreply = document.getElementById('post_reply_' + post); postreply.innerHTML = 'Reply'; postreply.onclick = new Function("return showReply('" + post + "')"); document.getElementById("postreply_" + post).style.display = 'none'; return false; } function showTagger(post) { document.getElementById('post_tags_' + post).style.display = 'block'; document.getElementById('post_tagger_' + post).innerHTML = 'Hide Tagger'; document.getElementById('post_tagger_' + post).onclick = new Function("return hideTagger('" + post + "')"); document.getElementById('post_tags_ip_' + post).focus(); return false; } function hideTagger(post) { document.getElementById('post_tags_' + post).style.display = 'none'; document.getElementById('post_tags_ip_' + post).value = ''; document.getElementById('post_tagger_' + post).innerHTML = 'Add Tags'; document.getElementById('post_tagger_' + post).onclick = new Function("return showTagger('" + post + "')"); return false; }
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
EliteJournal-1.9.403 | public/javascripts/uimanip.js |
EliteJournal-1.9.480 | public/javascripts/uimanip.js |
EliteJournal-1.9.492 | public/javascripts/uimanip.js |