mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update confirm
This commit is contained in:
parent
166a16b60d
commit
1ea5d5f307
191 changed files with 8714 additions and 48569 deletions
10
dashboard-ui/legacy/dashboard.js
Normal file
10
dashboard-ui/legacy/dashboard.js
Normal file
|
@ -0,0 +1,10 @@
|
|||
Dashboard.confirm = function (message, title, callback) {
|
||||
require(['confirm'], function (confirm) {
|
||||
|
||||
confirm(message, title).then(function () {
|
||||
callback(true);
|
||||
}, function () {
|
||||
callback(false);
|
||||
});
|
||||
});
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue