From fb17de1c58992fc567ee0d4f8051c9194f7b9d72 Mon Sep 17 00:00:00 2001 From: Peter Goodhall Date: Sun, 7 Feb 2021 14:44:29 +0000 Subject: [PATCH] Bug selectize.destroy(); was causing js inside Cloudlog to break --- application/views/interface_assets/footer.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/application/views/interface_assets/footer.php b/application/views/interface_assets/footer.php index 1e5388d9..66bc1dba 100644 --- a/application/views/interface_assets/footer.php +++ b/application/views/interface_assets/footer.php @@ -361,7 +361,7 @@ $( document ).ready(function() { } else { $("#stationCntyInput").prop('disabled', true); - $('#stationCntyInput')[0].selectize.destroy(); + //$('#stationCntyInput')[0].selectize.destroy(); $("#stationCntyInput").val(""); } }); @@ -2049,7 +2049,7 @@ $(document).ready(function(){ } else { $("#stationCntyInput").prop('disabled', true); - $('#stationCntyInput')[0].selectize.destroy(); + //$('#stationCntyInput')[0].selectize.destroy(); $("#stationCntyInput").val(""); } }); @@ -2923,7 +2923,7 @@ function deleteQsl(id) { } else { $("#stationCntyInput").prop('disabled', true); - $('#stationCntyInput')[0].selectize.destroy(); + //$('#stationCntyInput')[0].selectize.destroy(); $("#stationCntyInput").val(""); } });