Commit 92254de8 authored by Cédric Le Ninivin's avatar Cédric Le Ninivin

PageEditor: Catch errors and display them without breaking

parent d9ad3d29
......@@ -62,6 +62,9 @@
value: data_list[0],
mode: type
});
}, function (error) {
gadget.props.element.querySelector(".crib-editor-save-status")
.textContent = error;
});
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment