stashed footer page
diff --git a/portal/templates/includes/footer.html b/portal/templates/includes/footer.html
index da58ed0..cd75fd1 100644
--- a/portal/templates/includes/footer.html
+++ b/portal/templates/includes/footer.html
@@ -16,10 +16,11 @@
 <script>
 	$("#footer-subscribe-button").click(function() {
 
+		$("#footer-subscribe-email").attr('disabled', true);
+		$("#footer-subscribe-button").html("Sending...")
+			.attr("disabled", true);
+
 		if($("#footer-subscribe-email").val()) {
-			$("#footer-subscribe-email").attr('disabled', true);
-			$("#footer-subscribe-button").html("Sending...")
-				.attr("disabled", true);
 			erpnext.send_message({
 				subject:"Subscribe me",
 				sender: $("#footer-subscribe-email").val(),
@@ -36,8 +37,6 @@
 				}
 			});
 		}
-		else
-			wn.msgprint("Please enter email address");
 	});
 </script>
 {% endblock %}