Subversion Repositories SmartDukaan

Rev

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

Rev 36650 Rev 36655
Line 1071... Line 1071...
1071
    doGetAjaxRequestHandler(context + '/beatPlan/dayView', function (response) {
1071
    doGetAjaxRequestHandler(context + '/beatPlan/dayView', function (response) {
1072
        $('#main-content').html(response);
1072
        $('#main-content').html(response);
1073
    });
1073
    });
1074
});
1074
});
1075
 
1075
 
-
 
1076
// Base Location manager — load inline into dashboard
-
 
1077
$(document).on('click', '.base-location', function (e) {
-
 
1078
    e.preventDefault();
-
 
1079
    doGetAjaxRequestHandler(context + '/beatPlan/baseLocationPage', function (response) {
-
 
1080
        $('#main-content').html(response);
-
 
1081
    });
-
 
1082
});
-
 
1083
 
1076
// Approve geolocation from lead table
1084
// Approve geolocation from lead table
1077
$(document).on('click', '.approve-geo', function (e) {
1085
$(document).on('click', '.approve-geo', function (e) {
1078
    e.stopPropagation();
1086
    e.stopPropagation();
1079
    var lid = $(this).data('leadid');
1087
    var lid = $(this).data('leadid');
1080
    if (!confirm('Approve geolocation for Lead #' + lid + '?')) return;
1088
    if (!confirm('Approve geolocation for Lead #' + lid + '?')) return;