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 349-356 Link Here
349
        </div>
349
        </div>
350
      </div>
350
      </div>
351
351
352
        <form method="GET" action="/cgi-bin/koha/tools/batchMod.pl" id="batch_item_operations">
352
        <form method="POST" action="/cgi-bin/koha/tools/batchMod.pl" id="batch_item_operations">
353
            <input type="hidden" name="op" value="show" />
353
            <!-- dummy values which will be replaced by JavaScript -->
354
            [% INCLUDE 'csrf-token.inc' %]
355
            <input type="hidden" name="op" value="cud-show" />
354
            <input type="hidden" id="batch_mod_del" name="del" value="0" />
356
            <input type="hidden" id="batch_mod_del" name="del" value="0" />
355
        </form>
357
        </form>
356
358
Lines 786-792 Link Here
786
                batch_mod_form.append(
788
                batch_mod_form.append(
787
                    $("<input>").attr("type","hidden")
789
                    $("<input>").attr("type","hidden")
788
                    .attr("name", "op")
790
                    .attr("name", "op")
789
                    .val("show")
791
                    .val("cud-show")
792
                );
793
                batch_mod_form.append(
794
                    $("<input>").attr("type","hidden")
795
                    .attr("name", "csrf_token")
796
                    .val($('meta[name="csrf-token"]').attr('content'))
790
                );
797
                );
791
                batch_mod_form.append(
798
                batch_mod_form.append(
792
                    $("<input>").attr("type","hidden")
799
                    $("<input>").attr("type","hidden")
793
- 

Return to bug 38413