From e7c6055b3fc6f9910d59791d4f34967b15e5927d Mon Sep 17 00:00:00 2001
From: James Tauber
Date: Sat, 8 Sep 2012 19:07:34 -0400
Subject: [PATCH] added cancel and disable next
---
symposion/templates/reviews/result_notification.html | 7 ++++++-
.../templates/reviews/result_notification_prepare.html | 1 +
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/symposion/templates/reviews/result_notification.html b/symposion/templates/reviews/result_notification.html
index 37e29462..655a3cb5 100644
--- a/symposion/templates/reviews/result_notification.html
+++ b/symposion/templates/reviews/result_notification.html
@@ -28,7 +28,7 @@ Result Notification
{% endfor %}
-
+
@@ -93,6 +93,11 @@ Result Notification
}
return value;
});
+ if (sel == 0) {
+ $("#next-button").prop("disabled", true);
+ } else {
+ $("#next-button").prop("disabled", false);
+ }
}
// Check state of checkboxes and reinit state if needed
$(this).filter(":checked").each(function(i) {
diff --git a/symposion/templates/reviews/result_notification_prepare.html b/symposion/templates/reviews/result_notification_prepare.html
index c417a18a..1a14d563 100644
--- a/symposion/templates/reviews/result_notification_prepare.html
+++ b/symposion/templates/reviews/result_notification_prepare.html
@@ -37,6 +37,7 @@ Email
replaced with the title of the proposal when the email is sent.
+ Cancel