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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt (-4 / +10 lines)
Lines 348-355 Link Here
348
        </div>
348
        </div>
349
      </div>
349
      </div>
350
350
351
        <form method="GET" action="/cgi-bin/koha/tools/batchMod.pl" id="batch_item_operations">
351
        <form method="POST" action="/cgi-bin/koha/tools/batchMod.pl" id="batch_item_operations">
352
            <input type="hidden" name="op" value="show" />
352
            <!-- dummy values which will be replaced by JavaScript -->
353
            [% INCLUDE 'csrf-token.inc' %]
354
            <input type="hidden" name="op" value="cud-show" />
353
            <input type="hidden" id="batch_mod_del" name="del" value="0" />
355
            <input type="hidden" id="batch_mod_del" name="del" value="0" />
354
        </form>
356
        </form>
355
357
Lines 782-788 Link Here
782
                batch_mod_form.append(
784
                batch_mod_form.append(
783
                    $("<input>").attr("type","hidden")
785
                    $("<input>").attr("type","hidden")
784
                    .attr("name", "op")
786
                    .attr("name", "op")
785
                    .val("show")
787
                    .val("cud-show")
788
                );
789
                batch_mod_form.append(
790
                    $("<input>").attr("type","hidden")
791
                    .attr("name", "csrf_token")
792
                    .val($('meta[name="csrf-token"]').attr('content'))
786
                );
793
                );
787
                batch_mod_form.append(
794
                batch_mod_form.append(
788
                    $("<input>").attr("type","hidden")
795
                    $("<input>").attr("type","hidden")
789
- 

Return to bug 38413