Subversion Repositories SmartDukaan

Rev

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

Rev 36644 Rev 36650
Line 1063... Line 1063...
1063
    doGetAjaxRequestHandler(context + "/visit-approvals", function (response) {
1063
    doGetAjaxRequestHandler(context + "/visit-approvals", function (response) {
1064
        $('#main-content').html(response);
1064
        $('#main-content').html(response);
1065
    });
1065
    });
1066
});
1066
});
1067
 
1067
 
-
 
1068
// Beat Day View — load inline into dashboard
-
 
1069
$(document).on('click', '.beat-plan-dayview', function (e) {
-
 
1070
    e.preventDefault();
-
 
1071
    doGetAjaxRequestHandler(context + '/beatPlan/dayView', function (response) {
-
 
1072
        $('#main-content').html(response);
-
 
1073
    });
-
 
1074
});
-
 
1075
 
1068
// Approve geolocation from lead table
1076
// Approve geolocation from lead table
1069
$(document).on('click', '.approve-geo', function (e) {
1077
$(document).on('click', '.approve-geo', function (e) {
1070
    e.stopPropagation();
1078
    e.stopPropagation();
1071
    var lid = $(this).data('leadid');
1079
    var lid = $(this).data('leadid');
1072
    if (!confirm('Approve geolocation for Lead #' + lid + '?')) return;
1080
    if (!confirm('Approve geolocation for Lead #' + lid + '?')) return;