Disable dragging of new notes once they are submitted
This commit is contained in:
parent
d9d8d5a106
commit
d1660a1c4f
1 changed files with 3 additions and 0 deletions
|
@ -171,6 +171,9 @@ $(document).ready(function () {
|
|||
function createNote(marker, form, url) {
|
||||
var location = marker.getLatLng();
|
||||
|
||||
marker.options.draggable = false;
|
||||
marker.dragging.disable();
|
||||
|
||||
$(form).find("input[type=submit]").prop("disabled", true);
|
||||
|
||||
$.ajax({
|
||||
|
|
Loading…
Add table
Reference in a new issue