Fix language selection in sandboxed iframes

This commit is contained in:
yflory
2017-09-18 14:26:54 +02:00
parent 0a656ca8d6
commit 1131ef0172
10 changed files with 25 additions and 6 deletions

View File

@@ -51,7 +51,7 @@ define([
SFrameChannel.create($('#sbox-iframe')[0].contentWindow, waitFor(function (sfc) {
sframeChan = sfc;
}), false, { cache: cache });
}), false, { cache: cache, language: Cryptpad.getLanguage() });
Cryptpad.ready(waitFor());
}));
}).nThen(function (waitFor) {