mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 19:08:18 -07:00
12 lines
282 B
JavaScript
12 lines
282 B
JavaScript
Dashboard.confirm = function (message, title, callback) {
|
|
'use strict';
|
|
|
|
require(['confirm'], function (confirm) {
|
|
|
|
confirm(message, title).then(function () {
|
|
callback(true);
|
|
}, function () {
|
|
callback(false);
|
|
});
|
|
});
|
|
}; |