Disable dragging of new notes once they are submitted

This commit is contained in:
Tom Hughes 2013-04-29 17:20:21 +01:00
parent d9d8d5a106
commit d1660a1c4f

View file

@ -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({