Subversion Repositories SmartDukaan

Rev

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

Rev 30033 Rev 30073
Line 1... Line 1...
1
$(document).on('click', 'a.notify-po', function () {
1
$(document).on('click', 'a.notify-po', function () {
2
    sendPONotification();
2
    sendPONotification();
3
});
3
});
-
 
4
$(document).on('click', 'button.mk_remove_model', function () {
-
 
5
    $(this).closest('tr').remove();
-
 
6
});
4
 
7
 
5
function sendPONotification() {
8
function sendPONotification() {
6
    doGetAjaxRequestHandler(`${context}/indent/send-po-notification`, function (response) {
9
    doGetAjaxRequestHandler(`${context}/indent/send-po-notification`, function (response) {
7
        $('#main-content').html(response);
10
        $('#main-content').html(response);
8
    });
11
    });