diff --git a/dashboard-ui/scripts/registrationservices.js b/dashboard-ui/scripts/registrationservices.js index 836404a138..4caedba513 100644 --- a/dashboard-ui/scripts/registrationservices.js +++ b/dashboard-ui/scripts/registrationservices.js @@ -1,10 +1,10 @@ (function () { - var supporterPlaybackKey = 'lastSupporterPlaybackMessage2'; + var supporterPlaybackKey = 'lastSupporterPlaybackMessage4'; function validatePlayback(deferred) { - Dashboard.getPluginSecurityInfo().done(function (pluginSecurityInfo) { + Dashboard.getPluginSecurityInfo().then(function (pluginSecurityInfo) { if (pluginSecurityInfo.IsMBSupporter) { deferred.resolve(); @@ -97,48 +97,58 @@ function showPlaybackOverlay(deferred) { - require(['paperbuttonstyle']); + require(['components/paperdialoghelper'], function () { - var html = ''; - html += '
' + Globalize.translate('MessageDidYouKnowCinemaMode') + '
'; - html += '' + Globalize.translate('MessageDidYouKnowCinemaMode2') + '
'; + html += '' + Globalize.translate('MessageDidYouKnowCinemaMode') + '
'; + html += '' + Globalize.translate('MessageDidYouKnowCinemaMode2') + '
'; - html += '