Skip to content
Extraits de code Groupes Projets
Valider 65c0104c rédigé par Matthieu Aubry's avatar Matthieu Aubry
Parcourir les fichiers

Merge pull request #9039 from piwik/9035

Angular components are not rendered in dashboard view
parents c9a3823f 14645bf1
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -118,9 +118,12 @@
var self = this, currentWidget = this.element;
function onWidgetLoadedReplaceElementWithContent(loadedContent) {
$('.widgetContent', currentWidget).html(loadedContent);
$('.widgetContent', currentWidget).removeClass('loading');
$('.widgetContent', currentWidget).trigger('widget:create', [self]);
var $widgetContent = $('.widgetContent', currentWidget);
$widgetContent.html(loadedContent);
piwikHelper.compileAngularComponents($widgetContent);
$widgetContent.removeClass('loading');
$widgetContent.trigger('widget:create', [self]);
}
// Reading segment from hash tag (standard case) or from the URL (when embedding dashboard)
......@@ -346,4 +349,4 @@
}
});
})(jQuery);
\ No newline at end of file
})(jQuery);
Subproject commit 03ab8621c4467b8d70a45de49e5ff22c493322fc
Subproject commit 7cb1cd7af5dabb1ca89b9d9ac3bdd5f6175b49fa
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter