From 9305833dcd387337936b853a22b94cee694b7c3e Mon Sep 17 00:00:00 2001 From: "nuno.pinheiro" Date: Wed, 9 Sep 2015 19:07:51 +0100 Subject: [PATCH] Avoid double clicking in cgd acceptance/refusal during first year registration process --- .../firsttimecandidacy/cgddataauthorization.jsp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/webapp/WEB-INF/fenixedu-ulisboa-specifications/firsttimecandidacy/cgddataauthorization.jsp b/src/main/webapp/WEB-INF/fenixedu-ulisboa-specifications/firsttimecandidacy/cgddataauthorization.jsp index 6662f2fdf..993ece361 100644 --- a/src/main/webapp/WEB-INF/fenixedu-ulisboa-specifications/firsttimecandidacy/cgddataauthorization.jsp +++ b/src/main/webapp/WEB-INF/fenixedu-ulisboa-specifications/firsttimecandidacy/cgddataauthorization.jsp @@ -266,6 +266,8 @@ $(document).ready( function () { $('.cgd-accept-panel-heading').css('cursor','progress'); $('.cgd-decline-panel-heading').css('cursor','progress'); $('html').css('cursor','progress'); + $('.cgd-accept-panel-heading')[0].href="javascript: void(0);"; + $('.cgd-decline-panel-heading')[0].href="javascript: void(0);"; }); var declineHeaderColor = $('.cgd-decline-panel-heading').css('background-color'); @@ -295,6 +297,8 @@ $(document).ready( function () { $('.cgd-accept-panel-heading').css('cursor','progress'); $('.cgd-decline-panel-heading').css('cursor','progress'); $('html').css('cursor','progress'); + $('.cgd-accept-panel-heading')[0].href="javascript: void(0);"; + $('.cgd-decline-panel-heading')[0].href="javascript: void(0);"; }); });