File tree 1 file changed +7
-2
lines changed
1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 28
28
{{end}}
29
29
30
30
{{define "page_body"}}
31
- < div id ="errorMsg " class ="alert alert-warning alert-dismissible fade show " style ="display: none; " role ="alert ">
31
+ < div id ="errorMsg " class ="alert alert-warning fade show " style ="display: none; " role ="alert ">
32
32
< span id ="errorTxt "> </ span >
33
- < button type ="button " class ="close " data-dismiss =" alert " aria-label =" Close ">
33
+ < button type ="button " class ="close " aria-label =" Close " onclick =" dismissErrorMsg(); ">
34
34
< span aria-hidden ="true "> ×</ span >
35
35
</ button >
36
36
</ div >
37
+ < script type ="text/javascript ">
38
+ function dismissErrorMsg ( ) {
39
+ $ ( '#errorMsg' ) . hide ( ) ;
40
+ }
41
+ </ script >
37
42
< div class ="card shadow mb-4 ">
38
43
< div class ="card-header py-3 ">
39
44
< h6 class ="m-0 font-weight-bold text-primary "> Search logs</ h6 >
You can’t perform that action at this time.
0 commit comments