256 |
patron_autocomplete($("#find_patron"), { |
256 |
patron_autocomplete($("#find_patron"), { |
257 |
'on-select-callback': function( event, ui ) { |
257 |
'on-select-callback': function( event, ui ) { |
259 |
AddPatron( ui.item.firstname + " " + ( ui.item.middle_name || "" ) + " " + ui.item.surname, field, $("#patrons_to_add"), 'patrons_to_add' ); |
259 |
AddPatron( ( ui.item.firstname || "" ) + " " + ( ui.item.middle_name || "" ) + " " + ( ui.item.surname || "" ), field, $("#patrons_to_add"), 'patrons_to_add' ); |