Subversion Repositories SmartDukaan

Rev

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

Rev 30073 Rev 30114
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").toArray().forEach(function (index, ele) {
70
            $("#catalog-id-container").find("tr").toArray().forEach(function (index, ele) {
71
                catalogIds.push($(ele).data('id'));
71
                catalogIds.push($(ele).data('id'));
72
            });
72
            });
73
            if (catalogIds.length == 0) {
73
            if (catalogIds.length == 0) {
74
                alert("please select models");
74
                alert("please select models");
75
            }
75
            }