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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/z3950_search.tt (-2 / +4 lines)
Lines 32-38 Link Here
32
        $(".linktools").hide();
32
        $(".linktools").hide();
33
        $("tr").removeClass("selected");
33
        $("tr").removeClass("selected");
34
    });
34
    });
35
    $("#resetZ3950Search").click(function() {
35
    $("#resetZ3950Search").click(function(e) {
36
        e.preventDefault();
36
        $("form[name='f']").find("input[type=text]").val("");
37
        $("form[name='f']").find("input[type=text]").val("");
37
    });
38
    });
38
39
Lines 89-95 tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : Link Here
89
<div id="doc3" class="yui-t7">
90
<div id="doc3" class="yui-t7">
90
      <div id="bd">
91
      <div id="bd">
91
	  [% IF ( opsearch ) %]
92
	  [% IF ( opsearch ) %]
92
<h2>Order from external source <span style="display: inline; font-size: 70%; padding-left: 1em;"><span class="clearsearch"><a id="resetZ3950Search" href="#">Clear Search Form</a></span></span></h2>
93
<h2>Order from external source</h2>
93
    <form method="post" action="z3950_search.pl" name="f" class="checkboxed">
94
    <form method="post" action="z3950_search.pl" name="f" class="checkboxed">
94
    <input type="hidden" name="op" id="op" value="do_search" />
95
    <input type="hidden" name="op" id="op" value="do_search" />
95
	<div class="yui-g">
96
	<div class="yui-g">
Lines 117-122 tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : Link Here
117
              </select>
118
              </select>
118
              </li>
119
              </li>
119
         </ol>
120
         </ol>
121
        <p><a id="resetZ3950Search" href="#">Clear search form</a></p>
120
    </fieldset>
122
    </fieldset>
121
    <input type="hidden" name="biblionumber" value="[% biblionumber %]" />
123
    <input type="hidden" name="biblionumber" value="[% biblionumber %]" />
122
    <input type="hidden" name="basketno" value="[% basketno %]" />
124
    <input type="hidden" name="basketno" value="[% basketno %]" />
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_auth_search.tt (-4 / +6 lines)
Lines 58-66 $(document).ready(function(){ Link Here
58
        } else
58
        } else
59
            return true;
59
            return true;
60
    });
60
    });
61
    $("#resetZ3950Search").click(function() {
61
    $("#resetZ3950Search").click(function(e) {
62
		$("form[name='f']").find("input[type=text]").val("");
62
        e.preventDefault();
63
	});
63
        $("form[name='f']").find("input[type=text]").val("");
64
    });
64
});
65
});
65
66
66
[% IF ( total_pages ) %]
67
[% IF ( total_pages ) %]
Lines 103-109 tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : Link Here
103
    [% END %]
104
    [% END %]
104
    <div id="bd">
105
    <div id="bd">
105
    [% IF ( opsearch ) %]
106
    [% IF ( opsearch ) %]
106
        <h2>Z39.50 Authority search points<span style="display: inline; font-size: 70%; padding-left: 1em;"><span class="clearsearch"><a id="resetZ3950Search" href="#">Clear Search Form</a></span></span></h2>
107
        <h2>Z39.50 Authority search points</h2>
107
        <form method="post" action="z3950_auth_search.pl" name="f" class="checkboxed">
108
        <form method="post" action="z3950_auth_search.pl" name="f" class="checkboxed">
108
        <input type="hidden" name="op" id="op" value="do_search" />
109
        <input type="hidden" name="op" id="op" value="do_search" />
109
        <div class="yui-g">
110
        <div class="yui-g">
Lines 121-126 tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : Link Here
121
                    <li><label for="title">Title (any): </label> <input type="text" id="title"  name="title" value="[% title |html %]" /></li>
122
                    <li><label for="title">Title (any): </label> <input type="text" id="title"  name="title" value="[% title |html %]" /></li>
122
                    <li><label for="uniformtitle">Title (uniform): </label> <input type="text" id="uniformtitle"  name="uniformtitle" value="[% uniformtitle |html %]" /></li>
123
                    <li><label for="uniformtitle">Title (uniform): </label> <input type="text" id="uniformtitle"  name="uniformtitle" value="[% uniformtitle |html %]" /></li>
123
                </ol>
124
                </ol>
125
                <p><a id="resetZ3950Search" href="#">Clear search form</a></p>
124
                </fieldset>
126
                </fieldset>
125
            </div>
127
            </div>
126
        <div class="yui-g">
128
        <div class="yui-g">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tt (-3 / +4 lines)
Lines 59-65 $(document).ready(function(){ Link Here
59
        } else
59
        } else
60
            return true;
60
            return true;
61
    });
61
    });
62
    $("#resetZ3950Search").click(function() {
62
    $("#resetZ3950Search").click(function(e) {
63
        e.preventDefault();
63
       $("form[name='f']").find("input[type=text]").val("");
64
       $("form[name='f']").find("input[type=text]").val("");
64
    });
65
    });
65
});
66
});
Lines 104-110 tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : Link Here
104
[% END %]
105
[% END %]
105
      <div id="bd">
106
      <div id="bd">
106
	  [% IF ( opsearch ) %]
107
	  [% IF ( opsearch ) %]
107
<h2>Z39.50/SRU search <span style="display: inline; font-size: 70%; padding-left: 1em;"><span class="clearsearch"><a id="resetZ3950Search" href="#">Clear Search Form</a></span></span></h2>
108
<h2>Z39.50/SRU search</h2>
108
    <form method="post" action="z3950_search.pl" name="f" class="checkboxed">
109
    <form method="post" action="z3950_search.pl" name="f" class="checkboxed">
109
    <input type="hidden" name="op" id="op" value="do_search" />
110
    <input type="hidden" name="op" id="op" value="do_search" />
110
	<div class="yui-g">
111
	<div class="yui-g">
Lines 122-127 tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : Link Here
122
        <li><label for="dewey">Dewey: </label> <input type="text" id="dewey" name="dewey" value="" /></li>
123
        <li><label for="dewey">Dewey: </label> <input type="text" id="dewey" name="dewey" value="" /></li>
123
        <li><label for="stdid">Standard ID: </label> <input type="text" id="stdid" name="stdid" value="" /></li>
124
        <li><label for="stdid">Standard ID: </label> <input type="text" id="stdid" name="stdid" value="" /></li>
124
        </ol>
125
        </ol>
126
    <p><a id="resetZ3950Search" href="#">Clear search form</a></p>
125
    <input type="hidden" name="biblionumber" value="[% biblionumber %]" />
127
    <input type="hidden" name="biblionumber" value="[% biblionumber %]" />
126
    <input type="hidden" name="frameworkcode" value="[% frameworkcode %]" />
128
    <input type="hidden" name="frameworkcode" value="[% frameworkcode %]" />
127
</div>
129
</div>
128
- 

Return to bug 7741