Subversion Repositories SmartDukaan

Rev

Rev 18220 | Rev 18261 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 18220 Rev 18226
Line 331... Line 331...
331
		pma.send('preferences', 'update', 'set', me, properties);
331
		pma.send('preferences', 'update', 'set', me, properties);
332
	});
332
	});
333
	
333
	
334
	
334
	
335
	$(document).on('click','.accsproduct',function(){
335
	$(document).on('click','.accsproduct',function(){
-
 
336
		if (typeof(Storage) !== "undefined") {
-
 
337
			localStorage.removeItem("productdetail");
-
 
338
			localStorage.setItem("productdetail", $(this).closest(".card").html());
-
 
339
		}
336
		$('#loadingModal').modal();
340
		$('#loadingModal').modal();
-
 
341
		
337
		var url = $(this).data('url');
342
		var url = $(this).data('url');
-
 
343
		
338
		window.location = url;
344
		window.location = url;
339
	});
345
	});
340
	
346
	
341
	$(document).on('click','.viewproduct',function(e){		
347
	$(document).on('click','.viewproduct',function(e){		
342
		if(typeof livePriceCalls != undefined) {
348
		if(typeof livePriceCalls != undefined) {