Merge branch 'soon' of github.com:xwiki-labs/cryptpad into soon

pull/1/head
ansuz 3 years ago
commit 7a9c02b3be

@ -1161,6 +1161,7 @@ define([
//var storeLocally = data.teamId === -1; //var storeLocally = data.teamId === -1;
if (data.teamId === -1) { data.teamId = undefined; } if (data.teamId === -1) { data.teamId = undefined; }
if (data.teamId) { data.teamId = Number(data.teamId); }
// If a teamId is provided, it means we want to store the pad in a specific // If a teamId is provided, it means we want to store the pad in a specific
// team drive. In this case, we just need to check if the pad is already // team drive. In this case, we just need to check if the pad is already

Loading…
Cancel
Save