jellyfin-web/dashboard-ui/legacy/dashboard.js
2016-02-22 14:31:28 -05:00

10 lines
263 B
JavaScript

Dashboard.confirm = function (message, title, callback) {
require(['confirm'], function (confirm) {
confirm(message, title).then(function () {
callback(true);
}, function () {
callback(false);
});
});
};