Skip to content
Extraits de code Groupes Projets
Valider f2f4cd11 rédigé par sgiehl's avatar sgiehl
Parcourir les fichiers

refs #3813 do not show a loading message if broadcast is initalized for popovers

parent 57cd3479
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -56,7 +56,7 @@ var broadcast = { ...@@ -56,7 +56,7 @@ var broadcast = {
* Initializes broadcast object * Initializes broadcast object
* @return {void} * @return {void}
*/ */
init: function () { init: function (noLoadingMessage) {
if (broadcast._isInit) { if (broadcast._isInit) {
return; return;
} }
...@@ -66,7 +66,9 @@ var broadcast = { ...@@ -66,7 +66,9 @@ var broadcast = {
// The callback is called at once by present location.hash // The callback is called at once by present location.hash
$.history.init(broadcast.pageload, {unescape: true}); $.history.init(broadcast.pageload, {unescape: true});
piwikHelper.showAjaxLoading(); if(noLoadingMessage != true) {
piwikHelper.showAjaxLoading();
}
}, },
/** /**
...@@ -326,7 +328,7 @@ var broadcast = { ...@@ -326,7 +328,7 @@ var broadcast = {
*/ */
propagateNewPopoverParameter: function (handlerName, value) { propagateNewPopoverParameter: function (handlerName, value) {
// init broadcast if not already done (it is required to make popovers work in widgetize mode) // init broadcast if not already done (it is required to make popovers work in widgetize mode)
broadcast.init(); broadcast.init(true);
var hash = broadcast.getHashFromUrl(window.location.href); var hash = broadcast.getHashFromUrl(window.location.href);
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter