Fix cannot edit location bug at manage_locations page.
This commit is contained in:
parent
9c8c1bd0c4
commit
262eaa36b9
|
@ -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>
|
Loading…
Reference in New Issue