gui: Update Angular to 1.3.20, enable $applyAsync (fixes #4918)

This commit is contained in:
Jakob Borg
2018-05-05 12:13:16 +02:00
committed by Audrius Butkevicius
parent a94aceb22f
commit 3b5e1fa0fc
4 changed files with 12785 additions and 6880 deletions

View File

@@ -21,6 +21,7 @@ syncthing.config(function ($httpProvider, $translateProvider, LocaleServiceProvi
var deviceIDShort = metadata.deviceID.substr(0, 5);
$httpProvider.defaults.xsrfHeaderName = 'X-CSRF-Token-' + deviceIDShort;
$httpProvider.defaults.xsrfCookieName = 'CSRF-Token-' + deviceIDShort;
$httpProvider.useApplyAsync(true);
// language and localisation