self.drawFinesPage();
openils.Util.show('oils-selfck-fines-tbody');
},
- 'oils-selfck-nav-return-login' : function() { window.location.reload() },
'oils-selfck-nav-logout' : function() { self.logoutPatron(); },
'oils-selfck-nav-logout-print' : function() { self.logoutPatron(true); },
'oils-selfck-nav-logout-email' : function() { self.logoutPatron(false, true); },
// dict of org unit settings for "here"
this.orgSettings = {};
- setTimeout(function() {location.href = return_url;}, thankYouPageTimeout);
+ var goHomeFunc = function() {location.href = return_url};
+
+ // "return to login" link
+ dojo.connect(dojo.byId('oils-selfck-nav-return-login'), 'onclick', goHomeFunc);
+
+ // automatically redirect if return link is not clicked
+ setTimeout(goHomeFunc, thankYouPageTimeout);
}
//TODO: Remove