dojo.byId('selfckScanBox').focus();
dojo.byId('selfckScanBox').select();
+ // Call these again after a brief timeout to handle things like
+ // unnecessary double-clicks on navigation links, where first
+ // click focuses, and second causes loss of focus.
+ setTimeout(function(){
+ dojo.byId('selfckScanBox').focus();
+ dojo.byId('selfckScanBox').select();
+ }, 100);
+
+
// NOTE: switchTo() is called in the midst of various actions,
// so we can't clear the notifications here.
// dojo.byId('oils-selfck-status-div').innerHTML = '';
//if(this.orgSettings[SET_PATRON_PASSWORD_REQUIRED]) { // password always reqired, per KCLS - fail safe
if(!passwd) {
// would only happen in dev/debug mode when using the patron= param
- alert('password required by org setting. remove patron= from URL');
+ //alert('password required by org setting. remove patron= from URL');
return;
}