mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-18 03:18:19 -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);
|
|
});
|
|
});
|
|
}; |