LP#1640255 Hatch native messaging extension
[Evergreen.git] / Open-ILS / web / js / ui / default / staff / admin / workstation / app.js
index 9723c02..444f920 100644 (file)
@@ -167,7 +167,6 @@ function($scope , $window , $location , egCore , egConfirmDialog) {
 
     // ---------------------
     // Hatch Configs
-    $scope.hatchURL = egCore.hatch.hatchURL();
     $scope.hatchRequired = 
         egCore.hatch.getLocalItem('eg.hatch.required');
 
@@ -176,11 +175,6 @@ function($scope , $window , $location , egCore , egConfirmDialog) {
             'eg.hatch.required', $scope.hatchRequired);
     }
 
-    $scope.updateHatchURL = function() {
-        egCore.hatch.setLocalItem(
-            'eg.hatch.url', $scope.hatchURL);
-    }
-
     egCore.hatch.getItem('eg.audio.disable').then(function(val) {
         $scope.disable_sound = val;
     });
@@ -314,20 +308,6 @@ function($scope , egCore) {
         .finally(function() {$scope.actionPending = false});
     }
 
-    $scope.configurePrinter = function() {
-        $scope.printConfigError = null;
-        $scope.actionPending = true;
-        egCore.hatch.configurePrinter(
-            $scope.context,
-            $scope.printConfig[$scope.context].printer
-        )
-        .then(
-            function(config) {$scope.printConfig = config},
-            function(error) {$scope.printConfigError = error}
-        )
-        .finally(function() {$scope.actionPending = false});
-    }
-
     $scope.setPrinter = function(name) {
         $scope.printConfig[$scope.context].printer = name;
     }