Fix updateSearchList js error (#524)
This commit is contained in:
		
							parent
							
								
									99104e4295
								
							
						
					
					
						commit
						73108f7f21
					
				|  | @ -396,8 +396,6 @@ | ||||||
|             toastr.options.positionClass = 'toast-top-right-fix'; |             toastr.options.positionClass = 'toast-top-right-fix'; | ||||||
| 
 | 
 | ||||||
|             updateApplyConfigVisibility() |             updateApplyConfigVisibility() | ||||||
|             // from clients.html |  | ||||||
|             updateSearchList() |  | ||||||
| 
 | 
 | ||||||
|         }); |         }); | ||||||
| 
 | 
 | ||||||
|  | @ -436,7 +434,6 @@ | ||||||
|                 }); |                 }); | ||||||
|         } |         } | ||||||
|          |          | ||||||
|          |  | ||||||
|         // populateClient function for render new client info |         // populateClient function for render new client info | ||||||
|         // on the client page. |         // on the client page. | ||||||
|         function populateClient(client_id) { |         function populateClient(client_id) { | ||||||
|  |  | ||||||
|  | @ -391,11 +391,12 @@ Wireguard Clients | ||||||
|                     ); |                     ); | ||||||
|                 }); |                 }); | ||||||
|             }); |             }); | ||||||
| } |         } | ||||||
|     </script> |     </script> | ||||||
|     <script> |     <script> | ||||||
|         // load client list |         // load client list | ||||||
|         $(document).ready(function () { |         $(document).ready(function () { | ||||||
|  |             updateSearchList(); | ||||||
|             populateClientList(); |             populateClientList(); | ||||||
|         }) |         }) | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue