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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/str/cataloging_additem.inc (-1 / +1 lines)
Lines 20-25 Link Here
20
    var MSG_CONFIRM_DELETE_ITEM = _("Are you sure you want to delete this item?");
20
    var MSG_CONFIRM_DELETE_ITEM = _("Are you sure you want to delete this item?");
21
    var MSG_CONFIRM_ADD_ITEM = _("Are you sure you want to add a new item? Any changes made on this page will be lost.");
21
    var MSG_CONFIRM_ADD_ITEM = _("Are you sure you want to add a new item? Any changes made on this page will be lost.");
22
    var MSG_CONFIRM_SAVE = _("Are you sure you want to save?");
22
    var MSG_CONFIRM_SAVE = _("Are you sure you want to save?");
23
    var columns_settings = [% TablesSettings.GetColumns( 'cataloguing', 'additem', 'itemst', 'json' ) | $raw %];
23
    var table_settings = [% TablesSettings.GetTableSettings( 'cataloguing', 'additem', 'itemst', 'json' ) | $raw %];
24
</script>
24
</script>
25
<!-- / str/cataloging_additem.inc -->
25
<!-- / str/cataloging_additem.inc -->
(-)a/koha-tmpl/intranet-tmpl/prog/js/cataloging_additem.js (-3 / +2 lines)
Lines 42-55 $(document).ready(function(){ Link Here
42
    });
42
    });
43
43
44
    // Skip the first column
44
    // Skip the first column
45
    columns_settings.unshift( { cannot_be_toggled: "1" } );
45
    table_settings['columns'].unshift( { cannot_be_toggled: "1" } );
46
46
47
    var itemst = KohaTable("itemst", {
47
    var itemst = KohaTable("itemst", {
48
        'bPaginate': false,
48
        'bPaginate': false,
49
        'bInfo': false,
49
        'bInfo': false,
50
        "bAutoWidth": false,
50
        "bAutoWidth": false,
51
        "bKohaColumnsUseNames": true
51
        "bKohaColumnsUseNames": true
52
    }, columns_settings);
52
    }, table_settings);
53
53
54
    var multiCopyControl = $("#add_multiple_copies_span");
54
    var multiCopyControl = $("#add_multiple_copies_span");
55
    var addMultipleBlock = $("#addmultiple");
55
    var addMultipleBlock = $("#addmultiple");
56
- 

Return to bug 29648