Manually applies merge pull request #2556 from dawoe/temp-U4-11167
U4-11167 Fixes rare syncTree error
This commit is contained in:
committed by
Sebastiaan Janssen
parent
98b7467306
commit
793c9470c2
@@ -288,9 +288,12 @@ function navigationService($rootScope, $routeParams, $log, $location, $q, $timeo
|
|||||||
throw "args.tree cannot be null";
|
throw "args.tree cannot be null";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (mainTreeEventHandler) {
|
if (mainTreeEventHandler) {
|
||||||
//returns a promise
|
|
||||||
return mainTreeEventHandler.syncTree(args);
|
if (mainTreeEventHandler.syncTree) {
|
||||||
|
//returns a promise,
|
||||||
|
return mainTreeEventHandler.syncTree(args);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//couldn't sync
|
//couldn't sync
|
||||||
|
|||||||
Reference in New Issue
Block a user