Repair reference to undefined variable (offline) in spawn_editor()
function, which is responsible for opening the tab for the linked
patron. Variable should be "offlineStrings".
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Ben Shum <bshum@biblio.org>
{},
{
'show_print_button' : true ,
- 'tab_name' : offline.getString('menu.cmd_patron_register.related.tab'),
+ 'tab_name' : offlineStrings.getString('menu.cmd_patron_register.related.tab'),
'passthru_content_params' : {
'spawn_search' : function(s) { obj.spawn_search(s); },
'spawn_editor' : spawn_editor,