Lines 28-33
$(document).ready(function() {
Link Here
|
28 |
$('#filename').val(file_name[0] + "." + extension); |
28 |
$('#filename').val(file_name[0] + "." + extension); |
29 |
}); |
29 |
}); |
30 |
|
30 |
|
|
|
31 |
$('#output_format_auth').change(function(){ |
32 |
var filename_auth = $('#filename_auth').val(); |
33 |
var file_name_auth = filename_auth.split("."); |
34 |
var extension = $(this).val(); |
35 |
if (extension == "iso2709") { |
36 |
extension = "mrc"; |
37 |
} |
38 |
$('#filename_auth').val(file_name_auth[0] + "." + extension); |
39 |
}); |
40 |
|
41 |
|
31 |
}); |
42 |
}); |
32 |
//]]> |
43 |
//]]> |
33 |
</script> |
44 |
</script> |
Lines 141-148
$(document).ready(function() {
Link Here
|
141 |
Output format |
152 |
Output format |
142 |
</legend> |
153 |
</legend> |
143 |
<ol><li> |
154 |
<ol><li> |
144 |
<label for="output_format">File format: </label> |
155 |
<label for="output_format_auth">File format: </label> |
145 |
<select id="output_format" name="output_format"> |
156 |
<select id="output_format_auth" name="output_format_auth"> |
146 |
<option value="iso2709">marc</option> |
157 |
<option value="iso2709">marc</option> |
147 |
<option value="xml">xml</option> |
158 |
<option value="xml">xml</option> |
148 |
<option value="csv">csv</option> |
159 |
<option value="csv">csv</option> |
Lines 157-163
$(document).ready(function() {
Link Here
|
157 |
</select> |
168 |
</select> |
158 |
</li> |
169 |
</li> |
159 |
<li> |
170 |
<li> |
160 |
<label for="filename">File name:</label><input id="filename" type="text" name="filename" value="koha.mrc" /> |
171 |
<label for="filename_auth">File name:</label><input id="filename_auth" type="text" name="filename_auth" value="koha.mrc" /> |
161 |
</li></ol> |
172 |
</li></ol> |
162 |
</fieldset> |
173 |
</fieldset> |
163 |
<input type="hidden" name="op" value="export" /> |
174 |
<input type="hidden" name="op" value="export" /> |
164 |
- |
|
|