From a896ebeab6a523883e5f0add51c4725ba8d9fbe4 Mon Sep 17 00:00:00 2001 From: ci2014 Date: Tue, 21 Nov 2017 11:31:58 +0100 Subject: [PATCH] Allow users to confirm the message by enter (#4476) Users can confirm the message and proceed by pressing enter, not necessary to use the mouse. --- frappe/www/message.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frappe/www/message.html b/frappe/www/message.html index a124983738..671489858e 100644 --- a/frappe/www/message.html +++ b/frappe/www/message.html @@ -40,6 +40,8 @@ html, body { if(window.location.hash) { localStorage.setItem('session_last_route', window.location.hash.substr(1)); } + + $('.btn-primary').focus(); }); {% endblock %}