LP#1546125: use correct service for .storePrintTemplate
authorJason Etheridge <jason@esilibrary.com>
Tue, 16 Feb 2016 13:49:16 +0000 (08:49 -0500)
committerBen Shum <ben@evergreener.net>
Sat, 27 Feb 2016 23:01:35 +0000 (18:01 -0500)
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Signed-off-by: Ben Shum <ben@evergreener.net>

Open-ILS/web/js/ui/default/staff/admin/workstation/app.js

index b313f05..4924f9d 100644 (file)
@@ -462,7 +462,7 @@ function($scope , $q , egCore) {
     }
 
     $scope.save_locally = function() {
-        egCore.hatch.storePrintTemplate(
+        egCore.print.storePrintTemplate(
             $scope.print.template_name,
             $scope.print.template_content
         );