Turn on StockRotation system preference 1) Go to a staff detail page 2) Switch to rota page 3) Check web developer tools: ReferenceError: _ is not defined[Learn More] stockrotation.pl:61:9 <anonymous> http://localhost:8081/cgi-bin/koha/catalogue/stockrotation.pl:61:9
Created attachment 80506 [details] [review] Bug 21553: Remove JS error on the Rota view JS error was: ReferenceError: _ is not defined The strings after staff-global.js (for the function _) Test plan: Turn on StockRotation system preference 1) Go to a staff detail page 2) Switch to rota page 3) Check web developer tools
Created attachment 80514 [details] [review] Bug 21553: Remove JS error on the Rota view JS error was: ReferenceError: _ is not defined The strings after staff-global.js (for the function _) Test plan: Turn on StockRotation system preference 1) Go to a staff detail page 2) Switch to rota page 3) Check web developer tools Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Created attachment 80520 [details] [review] Bug 21553: Remove JS error on the Rota view JS error was: ReferenceError: _ is not defined The strings after staff-global.js (for the function _) Test plan: Turn on StockRotation system preference 1) Go to a staff detail page 2) Switch to rota page 3) Check web developer tools Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Ooops.. I think I introduced this one in the first place during a Stock Rotation rebase.. my bad. Looks good now, thanks for fixing it. Passing QA
Pushed for 18.11. Thanks all!
Caused by bug 11897 not in 18.05.x series.