From: Jason Etheridge Date: Mon, 19 Dec 2016 21:00:13 +0000 (-0500) Subject: webstaff: workaround a xulG undefined bug in Admin -> Booking -> Resources X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=9c4defc6257b5064c38b53e4da9051ed5f81f278;p=working%2FEvergreen.git webstaff: workaround a xulG undefined bug in Admin -> Booking -> Resources Signed-off-by: Jason Etheridge Signed-off-by: Kathy Lussier --- diff --git a/Open-ILS/src/templates/conify/global/booking/resource.tt2 b/Open-ILS/src/templates/conify/global/booking/resource.tt2 index 66f92bf2ae..6170199b33 100644 --- a/Open-ILS/src/templates/conify/global/booking/resource.tt2 +++ b/Open-ILS/src/templates/conify/global/booking/resource.tt2 @@ -57,7 +57,7 @@ setTimeout( function() { - if (xulG && xulG.resultant_brsrc) + if (typeof xulG != 'undefined' && xulG.resultant_brsrc) search = {id: xulG.resultant_brsrc}; brsrcGrid.overrideEditWidgets.type =