|
Lines 47-52
Link Here
|
| 47 |
} |
47 |
} |
| 48 |
}); |
48 |
}); |
| 49 |
$("#serverentry").submit(function( event ) { |
49 |
$("#serverentry").submit(function( event ) { |
|
|
50 |
// first test if show_sru_fields exists |
| 51 |
if( $('#show_sru_fields').length && $('#show_sru_fields').val()=='' && !confirm( _("No SRU search field mappings have been defined. This means that all field searches will go through the whole record. Continue?"))) { |
| 52 |
return false; |
| 53 |
} |
| 50 |
// copy show_sru_fields to hidden counterpart |
54 |
// copy show_sru_fields to hidden counterpart |
| 51 |
$('#sru_fields').val( $('#show_sru_fields').val() ); |
55 |
$('#sru_fields').val( $('#show_sru_fields').val() ); |
| 52 |
// enable recordtype to include field in post |
56 |
// enable recordtype to include field in post |
| 53 |
- |
|
|