Subversion Repositories SmartDukaan

Rev

Rev 37384 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 37384 Rev 37498
Line 1057... Line 1057...
1057
            $('#partner-income').html(response);
1057
            $('#partner-income').html(response);
1058
            const $section = $('#ajaxSection');
1058
            const $section = $('#ajaxSection');
1059
        });
1059
        });
1060
    }
1060
    }
1061
 
1061
 
-
 
1062
    // Fragment is re-injected with .html(), which re-runs this script; clear the
-
 
1063
    // namespace first so handlers replace rather than stack.
-
 
1064
    $(document).off('.dashboardmodal');
1062
    $(document).on("click", ".pending-income", function () {
1065
    $(document).on("click.dashboardmodal", ".pending-income", function () {
1063
        lastMonthCreditIncome("main-content");
1066
        lastMonthCreditIncome("main-content");
1064
    });
1067
    });
1065
 
1068
 
1066
    function doGetAjaxRequestHandler(url, successCallback) {
1069
    function doGetAjaxRequestHandler(url, successCallback) {
1067
        $.ajax({
1070
        $.ajax({