aboutsummaryrefslogtreecommitdiffstats
path: root/web/js.js
diff options
context:
space:
mode:
authormatthew <matthew>2007-05-04 14:36:55 +0000
committermatthew <matthew>2007-05-04 14:36:55 +0000
commite5f199be14d2ba82ca03524f7d1fb2fc79f7677e (patch)
treeac29685642b15e76a54d3b3c262fcea452f52f20 /web/js.js
parent43a7480776473f2122df9e8a3194f0b6eac91164 (diff)
NFI questionnaire code. Deals with sending out questionnaires, taking in
responses,updating problems, etc. What's left is front-end display issues such as timing out old problems, moving them to different lists, etc.
Diffstat (limited to 'web/js.js')
-rw-r--r--web/js.js15
1 files changed, 15 insertions, 0 deletions
diff --git a/web/js.js b/web/js.js
index eb3a52ea1..2016fc381 100644
--- a/web/js.js
+++ b/web/js.js
@@ -51,6 +51,21 @@ YAHOO.util.Event.onContentReady('mapForm', function() {
}
});
+YAHOO.util.Event.onContentReady('another_qn', function() {
+ if (!document.getElementById('been_fixed_no').checked) {
+ YAHOO.util.Dom.setStyle(this, 'display', 'none');
+ }
+ YAHOO.util.Event.addListener('been_fixed_no', 'click', function(e) {
+ YAHOO.util.Dom.setStyle('another_qn', 'display', 'block');
+ });
+ YAHOO.util.Event.addListener('been_fixed_yes', 'click', function(e) {
+ YAHOO.util.Dom.setStyle('another_qn', 'display', 'none');
+ });
+ YAHOO.util.Event.addListener('been_fixed_na', 'click', function(e) {
+ YAHOO.util.Dom.setStyle('another_qn', 'display', 'none');
+ });
+});
+
var timer;
function email_alert_close() {
YAHOO.util.Dom.setStyle('email_alert_box', 'display', 'none');