File tree Expand file tree Collapse file tree 2 files changed +1
-9
lines changed
Vehicle Rental System/src/main/resources/templates/admin Expand file tree Collapse file tree 2 files changed +1
-9
lines changed Original file line number Diff line number Diff line change 7171 < i class ="fa fa-search " aria-hidden ="true "> </ i > Search
7272 </ button >
7373
74- < button id ="resetButton " type ="button " class ="btn btn-primary "
75- onclick ="customReset() ">
76- < i class ="fa fa-refresh " aria-hidden ="true "> </ i > Reset
77- </ button >
7874 </ div >
7975 </ form >
8076 </ div >
@@ -151,10 +147,5 @@ <h2>
151147 < script type ="text/javascript "
152148 src ="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.9.0/js/bootstrap-datepicker.min.js "> </ script >
153149
154- < script >
155- function customReset ( ) {
156- document . getElementById ( "vehicle" ) . reset ( ) ;
157- }
158- </ script >
159150</ body >
160151</ html >
Original file line number Diff line number Diff line change @@ -250,6 +250,7 @@ <h2> Reservation History View </h2>
250250 document . getElementById ( "filterForm" ) . reset ( ) ;
251251 document . getElementById ( "client" ) . selectedIndex = 0 ;
252252 document . getElementById ( "dueDate" ) . value = "" ;
253+ document . getElementById ( "status" ) . selectedIndex = 0 ;
253254 document . getElementById ( "vehicle" ) . selectedIndex = 0 ;
254255 }
255256
You can’t perform that action at this time.
0 commit comments