gui: Defer jsTree initialisation until next digest cycle (fixes #4738)

This commit is contained in:
Cromefire_ 2018-11-11 13:42:53 +01:00 committed by Audrius Butkevicius
parent 603da2dce2
commit 9212303906

View File

@ -1996,6 +1996,7 @@ angular.module('syncthing.core')
});
$q.all([dataReceived, modalShown.promise]).then(function() {
$timeout(function(){
if (closed) {
resetRestoreVersions();
return;
@ -2107,6 +2108,7 @@ angular.module('syncthing.core')
});
});
});
});
}
};
}