mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-18 11:28:23 -07:00
update item queries
This commit is contained in:
parent
75abf69c5c
commit
39b96c14d1
6
dashboard-ui/cordova/iap.js
vendored
6
dashboard-ui/cordova/iap.js
vendored
@ -140,7 +140,7 @@
|
||||
|
||||
if (requiresVerification) {
|
||||
store.when(id).verified(function (p) {
|
||||
alert('verified');
|
||||
//alert('verified');
|
||||
updateProductInfo(p);
|
||||
p.finish();
|
||||
});
|
||||
@ -154,6 +154,9 @@
|
||||
Logger.log('finishing previously created transaction');
|
||||
if (requiresVerification) {
|
||||
//product.verify();
|
||||
if (product.owned) {
|
||||
alert('sub owned!');
|
||||
}
|
||||
} else {
|
||||
product.finish();
|
||||
}
|
||||
@ -201,6 +204,7 @@
|
||||
|
||||
}).map(function (o) {
|
||||
|
||||
o.id = getStoreFeatureId(o.feature);
|
||||
o.buttonText = Globalize.translate(o.buttonText, getProduct(o.feature).price);
|
||||
return o;
|
||||
});
|
||||
|
6
dashboard-ui/cordova/registrationservices.js
vendored
6
dashboard-ui/cordova/registrationservices.js
vendored
@ -257,11 +257,11 @@
|
||||
|
||||
function onProductUpdated(e, product) {
|
||||
|
||||
var deferred = currentDisplayingDeferred;
|
||||
if (product.owned) {
|
||||
|
||||
if (deferred && product.owned) {
|
||||
var deferred = currentDisplayingDeferred;
|
||||
|
||||
if (currentDisplayingProductInfos.filter(function (p) {
|
||||
if (deferred && currentDisplayingProductInfos.filter(function (p) {
|
||||
|
||||
return product.id == p.id;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user