Lines 486-492
Link Here
|
486 |
<span class="actions"><a class="tag_add" id="tag_add[% SEARCH_RESULT.biblionumber %]" href="#">Add tag</a></span> |
486 |
<span class="actions"><a class="tag_add" id="tag_add[% SEARCH_RESULT.biblionumber %]" href="#">Add tag</a></span> |
487 |
<div id="tagform[% SEARCH_RESULT.biblionumber %]" class="tag_results_input" style="display:none;"> |
487 |
<div id="tagform[% SEARCH_RESULT.biblionumber %]" class="tag_results_input" style="display:none;"> |
488 |
<label for="newtag[% SEARCH_RESULT.biblionumber %]">New tag(s), separated by a comma:</label> |
488 |
<label for="newtag[% SEARCH_RESULT.biblionumber %]">New tag(s), separated by a comma:</label> |
489 |
<input type="text" name="newtag[% SEARCH_RESULT.biblionumber %]" id="newtag[% SEARCH_RESULT.biblionumber %]" maxlength="100" /> |
489 |
<input type="text" name="newtag[% SEARCH_RESULT.biblionumber %]" id="newtag[% SEARCH_RESULT.biblionumber %]" class="newtag" maxlength="100" /> |
490 |
<input name="tagbutton" class="btn btn-small tagbutton" title="[% SEARCH_RESULT.biblionumber %]" type="submit" value="Add" /> |
490 |
<input name="tagbutton" class="btn btn-small tagbutton" title="[% SEARCH_RESULT.biblionumber %]" type="submit" value="Add" /> |
491 |
<a class="cancel_tag_add" id="cancel[% SEARCH_RESULT.biblionumber %]" href="#">(done)</a> |
491 |
<a class="cancel_tag_add" id="cancel[% SEARCH_RESULT.biblionumber %]" href="#">(done)</a> |
492 |
</div> |
492 |
</div> |
Lines 919-924
$(document).ready(function(){
Link Here
|
919 |
}); |
919 |
}); |
920 |
[% END %] |
920 |
[% END %] |
921 |
|
921 |
|
|
|
922 |
$("input.newtag").on('keydown', function(e){ |
923 |
if (e.keyCode == 13) { e.preventDefault(); } |
924 |
}); |
925 |
|
922 |
}); |
926 |
}); |
923 |
//]]> |
927 |
//]]> |
924 |
</script> |
928 |
</script> |
925 |
- |
|
|