From f5622db1c59c484151d5027da10d25cb525d3d88 Mon Sep 17 00:00:00 2001 From: DOHA Date: Wed, 13 May 2015 11:33:22 +0200 Subject: [PATCH] small fix --- .../src/main/webapp/WEB-INF/jsp/schedulePostForm.jsp | 5 +++++ .../src/main/webapp/WEB-INF/jsp/submissionForm.jsp | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/spring-security-oauth/src/main/webapp/WEB-INF/jsp/schedulePostForm.jsp b/spring-security-oauth/src/main/webapp/WEB-INF/jsp/schedulePostForm.jsp index 28839193ac..9b22dbc6c8 100755 --- a/spring-security-oauth/src/main/webapp/WEB-INF/jsp/schedulePostForm.jsp +++ b/spring-security-oauth/src/main/webapp/WEB-INF/jsp/schedulePostForm.jsp @@ -111,6 +111,11 @@ border-color: #ddd; $( "#sr" ).autocomplete({ source: "subredditAutoComplete" }); + + $("input[name='url'],input[name='sr']").focus(function (){ + $("#checkResult").hide(); + }); + }); diff --git a/spring-security-oauth/src/main/webapp/WEB-INF/jsp/submissionForm.jsp b/spring-security-oauth/src/main/webapp/WEB-INF/jsp/submissionForm.jsp index bc613aaca9..4c1b604684 100755 --- a/spring-security-oauth/src/main/webapp/WEB-INF/jsp/submissionForm.jsp +++ b/spring-security-oauth/src/main/webapp/WEB-INF/jsp/submissionForm.jsp @@ -102,6 +102,11 @@ function predicateResponse(){ $( "#sr" ).autocomplete({ source: "subredditAutoComplete" }); + + $("input[name='url'],input[name='sr']").focus(function (){ + $("#checkResult").hide(); + }); + });