mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
use applyAsync for compile (#5287)
This commit is contained in:
committed by
Torkel Ödegaard
parent
f877afb74d
commit
25899b72d2
@@ -211,7 +211,7 @@ function pluginDirectiveLoader($compile, datasourceSrv, $rootScope, $q, $http, $
|
||||
// let a binding digest cycle complete before adding to dom
|
||||
setTimeout(function() {
|
||||
elem.append(child);
|
||||
scope.$apply(function() {
|
||||
scope.$applyAsync(function() {
|
||||
scope.$broadcast('refresh');
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user