handle errors on sidebar form submits

This commit is contained in:
Laura Klünder 2017-05-16 14:07:21 +02:00
parent 678ed82391
commit cb761d08f3
3 changed files with 1 additions and 1 deletions

View file

@ -156,7 +156,7 @@ editor = {
}
var action = $(this).attr('action');
editor._sidebar_unload();
$.post(action, data, editor._sidebar_loaded);
$.post(action, data, editor._sidebar_loaded).fail(editor._sidebar_error);
},
// geometries