Subversion Repositories SmartDukaan

Rev

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

Rev 36655 Rev 36740
Line 1079... Line 1079...
1079
    doGetAjaxRequestHandler(context + '/beatPlan/baseLocationPage', function (response) {
1079
    doGetAjaxRequestHandler(context + '/beatPlan/baseLocationPage', function (response) {
1080
        $('#main-content').html(response);
1080
        $('#main-content').html(response);
1081
    });
1081
    });
1082
});
1082
});
1083
 
1083
 
-
 
1084
// Deferred Partners — load inline into dashboard
-
 
1085
$(document).on('click', '.beat-plan-deferred', function (e) {
-
 
1086
    e.preventDefault();
-
 
1087
    doGetAjaxRequestHandler(context + '/beatPlan/deferredView', function (response) {
-
 
1088
        $('#main-content').html(response);
-
 
1089
    });
-
 
1090
});
-
 
1091
 
1084
// Approve geolocation from lead table
1092
// Approve geolocation from lead table
1085
$(document).on('click', '.approve-geo', function (e) {
1093
$(document).on('click', '.approve-geo', function (e) {
1086
    e.stopPropagation();
1094
    e.stopPropagation();
1087
    var lid = $(this).data('leadid');
1095
    var lid = $(this).data('leadid');
1088
    if (!confirm('Approve geolocation for Lead #' + lid + '?')) return;
1096
    if (!confirm('Approve geolocation for Lead #' + lid + '?')) return;