Skip to content

Commit 178e7bf

Browse files
author
Eugen
committed
Merge pull request eugenp#209 from Doha2012/master
small fix
2 parents 365a972 + f5622db commit 178e7bf

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

spring-security-oauth/src/main/webapp/WEB-INF/jsp/schedulePostForm.jsp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,11 @@ border-color: #ddd;
111111
$( "#sr" ).autocomplete({
112112
source: "subredditAutoComplete"
113113
});
114+
115+
$("input[name='url'],input[name='sr']").focus(function (){
116+
$("#checkResult").hide();
117+
});
118+
114119
});
115120
</script>
116121

spring-security-oauth/src/main/webapp/WEB-INF/jsp/submissionForm.jsp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,11 @@ function predicateResponse(){
102102
$( "#sr" ).autocomplete({
103103
source: "subredditAutoComplete"
104104
});
105+
106+
$("input[name='url'],input[name='sr']").focus(function (){
107+
$("#checkResult").hide();
108+
});
109+
105110
});
106111
</script>
107112

0 commit comments

Comments
 (0)