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