Subversion Repositories SmartDukaan

Rev

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

Rev 27754 Rev 27763
Line 52... Line 52...
52
		fofoId=$(this).data('id');
52
		fofoId=$(this).data('id');
53
		doAjaxRequestHandler(context+"/return/inventory/" + fofoId, "GET", function(response){
53
		doAjaxRequestHandler(context+"/return/inventory/" + fofoId, "GET", function(response){
54
			inventoryTable.rows().remove().rows.add($(response)).draw(false);
54
			inventoryTable.rows().remove().rows.add($(response)).draw(false);
55
		});
55
		});
56
	});*/
56
	});*/
57
	$(document).on('click', '#inventory-container').find('a', function (){
57
	$(document).on('click', '#inventory-container a', function (){
58
		itemId=$(this).data('id');
58
		itemId=$(this).data('id');
59
		doAjaxRequestHandler(context+"/return/inventory/" + fofoId + "/" + itemId, "GET", function(response){
59
		doAjaxRequestHandler(context+"/return/inventory/" + fofoId + "/" + itemId, "GET", function(response){
60
			returnsTable.rows().remove().rows.add($(response)).draw(false);
60
			returnsTable.rows().remove().rows.add($(response)).draw(false);
61
		});
61
		});
62
	});
62
	});