gui: Defer jsTree initialisation until next digest cycle (fixes #4738)
This commit is contained in:
parent
603da2dce2
commit
9212303906
@ -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')
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user