addOrUpdateKeys request blocked by firefox

0 votes

Using the JS framework,  I want to update a value in a stored json document.

I have the addOrUpdateKeys call filtered/blocked by firefox. (same origin policy?), but this is working on Chrome...

whereas calls for retrieve date and insert in collection are good.

 

Any idea for the resolution of this ?

 

                        var TAG = new Object();
			TAG.user = sessionStorage.getItem('pseudo');
			TAG.userId = sessionStorage.getItem('sessionId');
		
			var promiseReservation = new Promise( function(resolve, reject) {
				var storageService  = new App42Storage();	
				var keys = new Object();
				keys.TAG = TAG;
				storageService.addOrUpdateKeys(dbName, collectionName, wishId, keys,
				{
					success: function(object) {
						console.log("ok");
						resolve();
					},
					error: function(error) {
						reject("huhu");
					}
			
				});				
			});

 

asked Aug 10, 2017 in JavaScript by mikael-came (10 points)

1 Answer

0 votes
Hi Mikael,

Apologies for delayed response.

We have forwarded your query to our team, we will be getting back to you as soon as possible.
answered Aug 14, 2017 by anonymous
Hi Mikael,

Apologies for the delayed response, due to some other prioritize task our team was little busy.
Please download the JS SDK from this link( http://cdn.shephertz.com/repository/files/4b65291e77f0779c41c51df028768c3015af7380271d068270a531c594b15706/5dbf699ceb4be595ff63696cca86891d7d73b871/App42_JS_SDK.js  ) and go through it. If you are still facing any issues please do feel free to reach out with us.

We would be happy to help you out.

Thanks for your patience and understanding!

Regards,
Priyanka Singh
App42 Team
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...