View | Details | Raw Unified | Return to bug 37812
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/js/vue/components/Preservation/TrainsShow.vue (-4 / +6 lines)
Lines 16-22 Link Here
16
                        <button
16
                        <button
17
                            type="button"
17
                            type="button"
18
                            class="btn-close"
18
                            class="btn-close"
19
                            data-bs-dismiss="modal"
19
                            @click="closeModal"
20
                            aria-label="Close"
20
                            aria-label="Close"
21
                        ></button>
21
                        ></button>
22
                    </div>
22
                    </div>
Lines 60-66 Link Here
60
                        <button
60
                        <button
61
                            class="btn btn-default deny cancel"
61
                            class="btn btn-default deny cancel"
62
                            type="button"
62
                            type="button"
63
                            data-bs-dismiss="modal"
63
                            @click="closeModal"
64
                        >
64
                        >
65
                            <i class="fa fa-times"></i> Cancel
65
                            <i class="fa fa-times"></i> Cancel
66
                        </button>
66
                        </button>
Lines 537-543 export default { Link Here
537
                .then(
537
                .then(
538
                    success => {
538
                    success => {
539
                        this.setMessage(this.$__("Item copied successfully."))
539
                        this.setMessage(this.$__("Item copied successfully."))
540
                        $("#copy_item_to_train").hide()
540
                        this.closeModal()
541
                    },
541
                    },
542
                    error => {
542
                    error => {
543
                        this.setWarning(
543
                        this.setWarning(
Lines 548-553 export default { Link Here
548
                    }
548
                    }
549
                )
549
                )
550
        },
550
        },
551
        closeModal() {
552
            $("#copy_item_to_train").hide()
553
        },
551
        clearAll() {
554
        clearAll() {
552
            this.selected_items = []
555
            this.selected_items = []
553
            if (this.item_table.display) {
556
            if (this.item_table.display) {
554
- 

Return to bug 37812