update alerts

This commit is contained in:
Luke Pulverenti 2016-05-25 15:12:38 -04:00
parent 7016a4c624
commit 69a410794c
5 changed files with 12 additions and 12 deletions

View File

@ -16,11 +16,11 @@
},
"devDependencies": {},
"ignore": [],
"version": "1.1.58",
"_release": "1.1.58",
"version": "1.1.59",
"_release": "1.1.59",
"_resolution": {
"type": "version",
"tag": "1.1.58",
"tag": "1.1.59",
"commit": "57a6fa68cdf72d05c6dfdf95cd2134471eca0af5"
},
"_source": "https://github.com/MediaBrowser/Emby.ApiClient.Javascript.git",

View File

@ -215,7 +215,7 @@
return connectUser;
};
var minServerVersion = '3.0.5821';
var minServerVersion = '3.0.5870';
self.minServerVersion = function (val) {
if (val) {

View File

@ -16,12 +16,12 @@
},
"devDependencies": {},
"ignore": [],
"version": "1.3.80",
"_release": "1.3.80",
"version": "1.3.81",
"_release": "1.3.81",
"_resolution": {
"type": "version",
"tag": "1.3.80",
"commit": "4e49327c0a8658e390e2a4a59d0222e6c3614be4"
"tag": "1.3.81",
"commit": "8c5b3c685f3cf65f7ef6d6d868566e03073c69d2"
},
"_source": "https://github.com/MediaBrowser/emby-webcomponents.git",
"_target": "^1.2.0",

View File

@ -61,7 +61,7 @@
"Help": "\u0421\u043f\u0440\u0430\u0432\u043a\u0430",
"NewCollectionHelp": "\u041a\u043e\u043b\u043b\u0435\u043a\u0446\u0438\u0438 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0442 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043e\u0431\u043e\u0441\u043e\u0431\u043b\u0435\u043d\u043d\u044b\u0435 \u0441\u043e\u0431\u0440\u0430\u043d\u0438\u044f \u0444\u0438\u043b\u044c\u043c\u043e\u0432 \u0438 \u0434\u0440\u0443\u0433\u043e\u0433\u043e \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u044f \u043c\u0435\u0434\u0438\u0430\u0442\u0435\u043a\u0438.",
"SearchForCollectionInternetMetadata": "\u0418\u0441\u043a\u0430\u0442\u044c \u0438\u043b\u043b\u044e\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u0438 \u043c\u0435\u0442\u0430\u0434\u0430\u043d\u043d\u044b\u0435 \u0432 \u0418\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0435",
"LabelName": "\u0418\u043c\u044f (\u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435):",
"LabelName": "\u0418\u043c\u044f:",
"NewCollectionNameExample": "\u041f\u0440\u0438\u043c\u0435\u0440: \u0417\u0432\u0451\u0437\u0434\u043d\u044b\u0435 \u0432\u043e\u0439\u043d\u044b (\u041a\u043e\u043b\u043b\u0435\u043a\u0446\u0438\u044f)",
"MessageItemsAdded": "\u042d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u044b.",
"OptionNew": "\u041d\u043e\u0432\u043e\u0435...",

View File

@ -2098,19 +2098,19 @@ var AppInfo = {};
var preferNativeAlerts = browser.mobile || browser.tv || browser.xboxOne;
// use native alerts if preferred and supported (not supported in opera tv)
if (preferNativeAlerts && globalScope.alert) {
if (preferNativeAlerts && window.alert) {
define("alert", [embyWebComponentsBowerPath + "/alert/nativealert"], returnFirstDependency);
} else {
define("alert", [embyWebComponentsBowerPath + "/alert/alert"], returnFirstDependency);
}
if (preferNativeAlerts && globalScope.confirm) {
if (preferNativeAlerts && window.confirm) {
define("confirm", [embyWebComponentsBowerPath + "/confirm/nativeconfirm"], returnFirstDependency);
} else {
define("confirm", [embyWebComponentsBowerPath + "/confirm/confirm"], returnFirstDependency);
}
if (preferNativeAlerts && globalScope.prompt) {
if (preferNativeAlerts && window.prompt) {
define("prompt", [embyWebComponentsBowerPath + "/prompt/nativeprompt"], returnFirstDependency);
} else {
define("prompt", [embyWebComponentsBowerPath + "/prompt/prompt"], returnFirstDependency);