LP#1554714 Patron reg 1.5 controller consolidation
authorBill Erickson <berickxx@gmail.com>
Wed, 9 Mar 2016 13:38:41 +0000 (08:38 -0500)
committerBill Erickson <berickxx@gmail.com>
Fri, 22 Apr 2016 13:52:59 +0000 (09:52 -0400)
commit34f53d9225556ec4553e5ddc4c5ed6fd09bd7b72
tree4f5080b316d6e02054c02eea2d7e3fa639c083e7
parent31dc20a3bdc4e0debe69ff41be8bed1a2ab8d410
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