Created
March 21, 2013 22:09
-
-
Save samanpwbb/5217254 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
connection.putChangeset( | |
history.changes(), | |
e.comment, | |
history.imagery_used(), | |
function(err, changeset_id) { | |
loading.remove(); | |
if (err) { | |
iD.ui.confirm(context.container()) | |
.select('.modal-section.header') | |
.append('h3') | |
.text(t('save.error')); | |
iD.ui.confirm(context.container()) | |
.select('.modal-section.message-text') | |
.append('p') | |
.text(err.responseText); | |
} else { | |
history.reset(); | |
map.flush().redraw(); | |
success(e, changeset_id); | |
} | |
}); | |
} |
tmcw
commented
Mar 21, 2013
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment