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

(-)a/koha-tmpl/opac-tmpl/prog/en/modules/opac-advsearch.tt (-1 / +7 lines)
Lines 100-105 Link Here
100
        <input type="text" size="30" name="q" title="Enter search terms" value="" />
100
        <input type="text" size="30" name="q" title="Enter search terms" value="" />
101
[% IF ( expanded_options ) %]
101
[% IF ( expanded_options ) %]
102
        <!--   [% IF ( search_box.scan_index ) %]<input type="checkbox" name="scan" id="scan" value="1" /> Scan Indexes[% END %] -->
102
        <!--   [% IF ( search_box.scan_index ) %]<input type="checkbox" name="scan" id="scan" value="1" /> Scan Indexes[% END %] -->
103
        [% IF ( !loop.first ) %]
104
            <a href="JavaScript:;" class="ButtonLess" title="Remove field" onclick="remove_field(this)">[-]</a>
105
        [% END %]
103
        [% IF ( search_box.add_field ) %]<a href="JavaScript:add_field();" id="ButtonPlus" title="Add another field">[+]</a>[% END %]
106
        [% IF ( search_box.add_field ) %]<a href="JavaScript:add_field();" id="ButtonPlus" title="Add another field">[+]</a>[% END %]
104
[% END %]
107
[% END %]
105
        </p>
108
        </p>
Lines 296-301 Link Here
296
        line.parentNode.appendChild(line.cloneNode(true));
299
        line.parentNode.appendChild(line.cloneNode(true));
297
        line.removeChild(ButtonPlus);
300
        line.removeChild(ButtonPlus);
298
    }
301
    }
302
303
    function remove_field(buttonless) {
304
        $(buttonless).parent().remove();
305
    }
299
</script>
306
</script>
300
307
301
</div>
308
</div>
302
- 

Return to bug 8600