Fix cannot edit location bug at manage_locations page.

This commit is contained in:
BoHung Chiu 2020-07-22 11:59:08 +08:00
parent 9c8c1bd0c4
commit 262eaa36b9
1 changed files with 6 additions and 0 deletions

View File

@ -78,4 +78,10 @@
$("#location-modal .modal-body").html(data); $("#location-modal .modal-body").html(data);
}) })
}) })
$('[data-target="#edit-location-modal"]').on("click",function(){
var url = $(this).attr("href");
$.get(url).done(function(data){
$("#edit-location-modal .modal-body").html(data);
})
})
</script> </script>