1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

use shared prompt

This commit is contained in:
Luke Pulverenti 2016-02-04 15:51:13 -05:00
parent 4c2a7ed02d
commit adb3a60373
10 changed files with 215 additions and 36 deletions

View file

@ -1,10 +0,0 @@
define([], function () {
return function (options) {
var result = prompt(options.text, options.defaultText || '');
if (options.callback) {
options.callback(result);
}
};
});