[Layout] Avoid infinite digest exception
Auto-expand tree nodes on a timeout, instead of immediately. This is necessary in cases where auto-expansion several layers deep occurs; if done immediately, each expansion will trigger a new digest cycle, which at a certain depth will appear to Angular as unstable. Done in the context of WTD-535.
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
{
|
||||
"key": "TreeNodeController",
|
||||
"implementation": "TreeNodeController.js",
|
||||
"depends": [ "$scope", "navigationService" ]
|
||||
"depends": [ "$scope", "$timeout" ]
|
||||
},
|
||||
{
|
||||
"key": "ActionGroupController",
|
||||
|
||||
Reference in New Issue
Block a user