Client-side only, no server side validation.
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/trunk@19692
dcc99617-32d9-48b4-a31d-
7c20da2025e4
staff.main.gen_offline_widgets.registration.override=Override Registration Failure?
staff.main.gen_offline_widgets.registration.error=Workstation Registration error (%1$s)
staff.main.gen_offline_widgets.registration.success=Registration successful
+staff.main.gen_offline_widgets.registration.empty=Please specify a workstation name
staff.util.timestamp_dialog.future_date_disallowed=Future dates disallowed.
staff.util.timestamp_dialog.past_date_disallowed=Past dates disallowed.
staff.util.timestamp_dialog.today_disallowed=Today disallowed.
}
function register() {
+ if(g.tb.value.length == 0) {
+ alert(document.getElementById('commonStrings').getString('staff.main.gen_offline_widgets.registration.empty'));
+ return;
+ }
try {
var robj = g.network.simple_request(
'AUTH_WORKSTATION',