Pad creation screen translations and link to settings

This commit is contained in:
yflory
2018-01-29 10:38:00 +01:00
parent 74deb60f0f
commit 5089f1206d
7 changed files with 48 additions and 4 deletions

View File

@@ -66,9 +66,18 @@ define([
Cryptpad.mergeAnonDrive(cb);
});
};
var category;
if (window.location.hash) {
category = window.location.hash.slice(1);
window.location.hash = '';
}
var addData = function (obj) {
if (category) { obj.category = category; }
};
SFCommonO.start({
noRealtime: true,
addRpc: addRpc
addRpc: addRpc,
addData: addData
});
});
});