Migration of alert to ES6 module

This commit is contained in:
Cameron 2020-07-15 14:46:56 +01:00
parent 1200617639
commit 45df6ef764
12 changed files with 20 additions and 16 deletions

View file

@ -709,7 +709,7 @@ define(['events', 'datetime', 'appSettings', 'itemHelper', 'pluginManager', 'pla
function showPlaybackInfoErrorMessage(instance, errorCode, playNextTrack) {
require(['alert'], function (alert) {
alert({
alert.default({
text: globalize.translate('PlaybackError' + errorCode),
title: globalize.translate('HeaderPlaybackError')
}).then(function () {