git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_4_0@13255
dcc99617-32d9-48b4-a31d-
7c20da2025e4
g.error.sdump('D_ERROR','print: ' + E);
alert('print: ' + E);
}
- }
+ } else {
+ g.list.clear();
+ var x = $('i_barcode'); x.value = ''; x.focus();
+ }
} catch(E) {
dump(E+'\n'); alert(E);
g.error.sdump('D_ERROR','print: ' + E);
alert('print: ' + E);
}
+ } else {
+ g.list.clear();
+ var x = $('i_barcode'); x.value = '';
+ x = $('p_barcode'); x.value = '';
+ x.setAttribute('disabled','false'); x.disabled = false;
+ x.focus();
}
} catch(E) {
dump(E+'\n'); alert(E);
g.error.sdump('D_ERROR','print: ' + E);
alert('print: ' + E);
}
- }
+ } else {
+ g.list.clear();
+ var x = $('i_barcode'); x.value = ''; x.focus();
+ }
} catch(E) {
dump(E+'\n'); alert(E);
}
g.error.sdump('D_ERROR','print: ' + E);
alert('print: ' + E);
}
- }
+ } else {
+ g.list.clear();
+ var x = $('i_barcode'); x.value = '';
+ x = $('p_barcode'); x.value = ''; x.focus();
+ }
}
} catch(E) {
dump(E+'\n'); alert(E);