diff --git a/dashboard-ui/scripts/sections.js b/dashboard-ui/scripts/sections.js index 408b7c7729..b8c4f44bf5 100644 --- a/dashboard-ui/scripts/sections.js +++ b/dashboard-ui/scripts/sections.js @@ -170,7 +170,15 @@ } var cacheKey = 'lastappinfopresent5'; - if ((new Date().getTime() - parseInt(appSettings.get(cacheKey) || '0')) < frequency) { + var lastDatePresented = parseInt(appSettings.get(cacheKey) || '0'); + + // Don't show the first time, right after installation + if (!lastDatePresented) { + appSettings.set(cacheKey, new Date().getTime()); + return Promise.resolve(''); + } + + if ((new Date().getTime() - lastDatePresented) < frequency) { return Promise.resolve(''); } diff --git a/dashboard-ui/scripts/selectserver.js b/dashboard-ui/scripts/selectserver.js index 8b7a53dc35..9eeb6a67ba 100644 --- a/dashboard-ui/scripts/selectserver.js +++ b/dashboard-ui/scripts/selectserver.js @@ -1,4 +1,4 @@ -define(['paper-icon-button-light', 'jQuery'], function ($) { +define(['jQuery', 'paper-icon-button-light'], function ($) { function connectToServer(page, server) {