]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/web/js/ui/default/staff/extern/angular-location-update/angular-location-update.min.js
webstaff: add angular-location-update dependency
[Evergreen.git] / Open-ILS / web / js / ui / default / staff / extern / angular-location-update / angular-location-update.min.js
1 !function(n){"use strict";n.module("ngLocationUpdate",[]).run(["$route","$rootScope","$location",function(n,t,o){o.update_path=function(c,u){if(o.path()!=c){var a=n.current;t.$on("$locationChangeSuccess",function(){a&&(n.current=a,a=null)}),o.path(c),u||o.replace()}}}])}(window.angular);