Subversion Repositories SmartDukaan

Rev

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

Rev 27495 Rev 27754
Line 1... Line 1...
1
$(function() {
1
$(function() {
2
	$(".promoter-info").live('click', function() {
2
	$(document).on('click', ".promoter-info", function() {
3
		loadPromotor("main-content");
3
		loadPromotor("main-content");
4
	});
4
	});
5
 
5
 
6
	var id = 0;
6
	var id = 0;
7
	var retailerId;
7
	var retailerId;
Line 119... Line 119...
119
 
119
 
120
				return false;
120
				return false;
121
			}
121
			}
122
		});
122
		});
123
 
123
 
124
	$(".updatePromoterdetail").live('click', function() {
124
	$(document).on('click', ".updatePromoterdetail", function() {
125
		id = $(this).data('requestid');
125
		id = $(this).data('requestid');
126
		name = $(this).data('name');
126
		name = $(this).data('name');
127
		brand = $(this).data('brand');
127
		brand = $(this).data('brand');
128
		partner = $(this).data('partner');
128
		partner = $(this).data('partner');
129
		partnerid = $(this).data('partnerid');
129
		partnerid = $(this).data('partnerid');
Line 168... Line 168...
168
					return false;
168
					return false;
169
				}
169
				}
170
 
170
 
171
			});
171
			});
172
 
172
 
173
	$("#promoter-fofo-search").live('click', function() {
173
	$(document).on('click', "#promoter-fofo-search", function() {
174
 
174
 
175
		fofoId = partnerId;
175
		fofoId = partnerId;
176
		doGetAjaxRequestHandler(context + "/getPromoterInfo?fofoId=" + fofoId, function(response) {
176
		doGetAjaxRequestHandler(context + "/getPromoterInfo?fofoId=" + fofoId, function(response) {
177
			$('#' + "main-content").html(response);
177
			$('#' + "main-content").html(response);
178
		});
178
		});