remove most of Dashboard global window usage
This commit is contained in:
@@ -2,6 +2,7 @@ import loading from '../../../components/loading/loading';
|
||||
import '../../../elements/emby-checkbox/emby-checkbox';
|
||||
import '../../../elements/emby-button/emby-button';
|
||||
import '../../../elements/emby-select/emby-select';
|
||||
import Dashboard from '../../../scripts/clientUtils';
|
||||
|
||||
function save(page) {
|
||||
loading.show();
|
||||
|
||||
@@ -2,6 +2,7 @@ import loading from '../../../components/loading/loading';
|
||||
import '../../../elements/emby-checkbox/emby-checkbox';
|
||||
import '../../../elements/emby-button/emby-button';
|
||||
import '../../../elements/emby-select/emby-select';
|
||||
import Dashboard from '../../../scripts/clientUtils';
|
||||
|
||||
function save(page) {
|
||||
loading.show();
|
||||
|
||||
@@ -2,6 +2,7 @@ import 'jquery';
|
||||
import loading from '../../../components/loading/loading';
|
||||
import '../../../elements/emby-button/emby-button';
|
||||
import '../../../elements/emby-select/emby-select';
|
||||
import Dashboard from '../../../scripts/clientUtils';
|
||||
|
||||
function loadPage(page, config, languageOptions) {
|
||||
$('#selectLocalizationLanguage', page).html(languageOptions.map(function (l) {
|
||||
|
||||
@@ -3,6 +3,7 @@ import globalize from '../../../scripts/globalize';
|
||||
import '../../../assets/css/dashboard.css';
|
||||
import '../../../elements/emby-input/emby-input';
|
||||
import '../../../elements/emby-button/emby-button';
|
||||
import Dashboard from '../../../scripts/clientUtils';
|
||||
|
||||
function getApiClient() {
|
||||
return ApiClient;
|
||||
|
||||
Reference in New Issue
Block a user