mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-21 05:59:18 +00:00
stashed footer page
This commit is contained in:
@@ -16,10 +16,11 @@
|
|||||||
<script>
|
<script>
|
||||||
$("#footer-subscribe-button").click(function() {
|
$("#footer-subscribe-button").click(function() {
|
||||||
|
|
||||||
|
$("#footer-subscribe-email").attr('disabled', true);
|
||||||
|
$("#footer-subscribe-button").html("Sending...")
|
||||||
|
.attr("disabled", true);
|
||||||
|
|
||||||
if($("#footer-subscribe-email").val()) {
|
if($("#footer-subscribe-email").val()) {
|
||||||
$("#footer-subscribe-email").attr('disabled', true);
|
|
||||||
$("#footer-subscribe-button").html("Sending...")
|
|
||||||
.attr("disabled", true);
|
|
||||||
erpnext.send_message({
|
erpnext.send_message({
|
||||||
subject:"Subscribe me",
|
subject:"Subscribe me",
|
||||||
sender: $("#footer-subscribe-email").val(),
|
sender: $("#footer-subscribe-email").val(),
|
||||||
@@ -36,8 +37,6 @@
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
else
|
|
||||||
wn.msgprint("Please enter email address");
|
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|||||||
Reference in New Issue
Block a user