Warn user when dnd failed with resource conflict

Fixes #1613
This commit is contained in:
Francis Lachapelle
2014-02-03 11:09:03 -05:00
parent 2f0419c18a
commit b3dc645282
3 changed files with 21 additions and 5 deletions

View File

@@ -135,6 +135,10 @@ function updateEventFromDraggingCallback(http) {
if (isHttpStatus204(http.status)) {
refreshEventsAndDisplay();
}
else {
var response = http.responseText.evalJSON(true);
showAlertDialog(response['message']);
}
}
}