LP#1554714 Patron reg 1.5 controller consolidation
authorBill Erickson <berickxx@gmail.com>
Wed, 9 Mar 2016 13:38:41 +0000 (08:38 -0500)
committerGalen Charlton <gmc@esilibrary.com>
Wed, 20 Apr 2016 15:37:12 +0000 (11:37 -0400)
commit69ab3961ce08bc7ca175cc66b954abf030f0cd63
tree7bd511e838daf1c6ecee33ee7ef858381e83c15b
parent8f7db2abc59effdc1d9c4d0b11e30c3206f1e687
LP#1554714 Patron reg 1.5 controller consolidation

Angular 1.4+ requires that each controller be instantiated via the
module.controller() function.  No more global functions.  The patron
reg. controller, shared by 2 different modules, was defined as a global
function.  Resolve this by hanging it off the core module (when loaded).

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Open-ILS/web/js/ui/default/staff/circ/patron/regctl.js
Open-ILS/web/js/ui/default/staff/circ/patron/register.js