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

refs #3065 fixes UX regression

git-svn-id: http://dev.piwik.org/svn/trunk@6254 59fd770c-687e-43c8-a1e3-f5a4ff64c105
parent b53e5255
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -338,7 +338,7 @@ div.widgetpreview-preview { ...@@ -338,7 +338,7 @@ div.widgetpreview-preview {
width: 500px; width: 500px;
} }
#dashboardSettings.widgetpreview-base { #dashboardSettings {
min-height: 0; min-height: 0;
height: auto; height: auto;
margin-left: 10px; margin-left: 10px;
......
...@@ -11,7 +11,7 @@ function initDashboard(dashboardId, dashboardLayout) { ...@@ -11,7 +11,7 @@ function initDashboard(dashboardId, dashboardLayout) {
if($('#periodString').length) if($('#periodString').length)
{ {
$('#periodString').after($('#dashboardSettings')); $('#periodString').after($('#dashboardSettings'));
$('#dashboardSettings').css({left:$('#periodString')[0].offsetWidth+10}); $('#dashboardSettings').css({left:$('#periodString')[0].offsetWidth});
} }
// Embed dashboard // Embed dashboard
if(!$('#topBars').length) if(!$('#topBars').length)
...@@ -42,6 +42,8 @@ function initDashboard(dashboardId, dashboardLayout) { ...@@ -42,6 +42,8 @@ function initDashboard(dashboardId, dashboardLayout) {
} }
}); });
widgetsHelper.getAvailableWidgets();
$('#dashboardWidgetsArea').on('dashboardempty', showEmptyDashboardNotification); $('#dashboardWidgetsArea').on('dashboardempty', showEmptyDashboardNotification);
$('#dashboardWidgetsArea').dashboard({ $('#dashboardWidgetsArea').dashboard({
......
...@@ -32,8 +32,7 @@ widgetsHelper.getAvailableWidgets = function () ...@@ -32,8 +32,7 @@ widgetsHelper.getAvailableWidgets = function ()
} }
return widgetsHelper.availableWidgets; return widgetsHelper.availableWidgets;
};
}
/** /**
* Returns the complete widget object by its unique id * Returns the complete widget object by its unique id
......
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