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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt (-1 / +1 lines)
Lines 342-348 Link Here
342
                                -->
342
                                -->
343
                                <span id="addsingle">
343
                                <span id="addsingle">
344
                                    <input type="submit" name="add_submit" value="Add item" onclick="return Check(this.form)" />
344
                                    <input type="submit" name="add_submit" value="Add item" onclick="return Check(this.form)" />
345
                                    <input type="submit" name="add_duplicate_submit" value="Add and duplicate" onclick="return Check(this.form)" />
345
                                    <input type="submit" id="add_duplicate_submit" name="add_duplicate_submit" value="Add and duplicate" onclick="return Check(this.form)" />
346
                                </span>
346
                                </span>
347
                                <span id="addmultiple">
347
                                <span id="addmultiple">
348
                                    <input type="button" name="add_multiple_copies" id="add_multiple_copies" value="Add multiple copies of this item" />
348
                                    <input type="button" name="add_multiple_copies" id="add_multiple_copies" value="Add multiple copies of this item" />
(-)a/koha-tmpl/intranet-tmpl/prog/js/cataloging_additem.js (-1 / +5 lines)
Lines 55-60 $(document).ready(function () { Link Here
55
        }
55
        }
56
    });
56
    });
57
57
58
    $("#add_duplicate_submit").click(function () {
59
        // force to scroll to form if we're in duplicate action
60
        $("#f").attr('action', $("#f").attr('action').replace(/(#\w+)?$/g, '#additema'));
61
    });
62
58
    // Skip the first column
63
    // Skip the first column
59
    table_settings["columns"].unshift({ cannot_be_toggled: "1" });
64
    table_settings["columns"].unshift({ cannot_be_toggled: "1" });
60
65
61
- 

Return to bug 41108