Subversion Repositories SmartDukaan

Rev

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

Rev 30115 Rev 30116
Line 65... Line 65...
65
                </div>`;
65
                </div>`;
66
            $("#catalog-id-container").append(container);
66
            $("#catalog-id-container").append(container);
67
        });
67
        });
68
        let catalogIds = [];
68
        let catalogIds = [];
69
        $("#po-notify-send").click(function () {
69
        $("#po-notify-send").click(function () {
70
            $("#catalog-id-container").find("tr").toArray().forEach(function (index, ele) {
70
            $("#catalog-id-container").find("tr").toArray().forEach(function (ele) {
71
                debugger;
-
 
72
                catalogIds.push($(ele).data('id'));
71
                catalogIds.push($(ele).data('id'));
73
            });
72
            });
74
            if (catalogIds.length == 0) {
73
            if (catalogIds.length == 0) {
75
                alert("please select models");
74
                alert("please select models");
76
            }
75
            }