in xookiEdit.js [379:392]
xooki.toc.save = function (revised) {
if (!revised) {
revised = xooki.json.serialize({children: this.actualRoot.children});
}
var save;
var tocPath = xooki.io.getLocalPath(this.url);
try {
save = xooki.io.saveFile(tocPath, xooki.io.fixEOL(revised));
} catch (e) {
xooki.error(e);
}
if(!save)
xooki.error(t("Impossible to save changes to ${0}", tocPath));
}