Subversion Repositories SmartDukaan

Rev

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

Rev 17026 Rev 17102
Line 869... Line 869...
869
	if (navigator.geolocation) {
869
	if (navigator.geolocation) {
870
        navigator.geolocation.getCurrentPosition(showPosition);
870
        navigator.geolocation.getCurrentPosition(showPosition);
871
    } 
871
    } 
872
});
872
});
873
$('.getapp').on('click',function(){
873
$('.getapp').on('click',function(){
874
	var that = $(this);
874
	/*var that = $(this);
875
	var req = $.ajax({
875
	var req = $.ajax({
876
		url: 'http://104.200.25.40:8057/appAffiliates/generateRedirectUrl/'+me+'/'+$(that).data('id'),
876
		url: 'http://104.200.25.40:8057/appAffiliates/generateRedirectUrl/'+me+'/'+$(that).data('id'),
877
		// Tell jQuery we're expecting JSONP
877
		// Tell jQuery we're expecting JSONP
878
		dataType: "jsonp",
878
		dataType: "jsonp",
879
		// Tell YQL what we want and that we want JSON			
879
		// Tell YQL what we want and that we want JSON			
Line 881... Line 881...
881
		// timeout: 30000,
881
		// timeout: 30000,
882
		// Work with the response
882
		// Work with the response
883
		success: function( response ) {
883
		success: function( response ) {
884
			console.log(response);
884
			console.log(response);
885
		}
885
		}
886
	});
886
	});*/
-
 
887
	$('#loadingModal').modal('show');
-
 
888
	document.location = '/abouts/apphint';
887
});
889
});
888
function showpopover(id){
890
function showpopover(id){
889
	$('[data-toggle="popover"]#'+id).popover({'html':true});
891
	$('[data-toggle="popover"]#'+id).popover({'html':true});
890
	$('[data-toggle="popover"]#'+id).trigger('click');		
892
	$('[data-toggle="popover"]#'+id).trigger('click');		
891
}
893
}