webstaff: Clear template name after application so another can be selected
authorMike Rylander <mrylander@gmail.com>
Tue, 1 Sep 2015 17:03:44 +0000 (13:03 -0400)
committerJason Stephenson <jstephenson@mvlc.org>
Mon, 14 Sep 2015 19:44:18 +0000 (15:44 -0400)
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js

index 68aab84..bdc86b3 100644 (file)
@@ -669,6 +669,7 @@ function($scope , $q , $routeParams , $location , $timeout , egCore , egNet , eg
                 });
             }
         });
+        $scope.template_name = '';
     }
 
     var dataKey = $routeParams.dataKey;
@@ -1049,6 +1050,7 @@ function($scope , $q , $routeParams , $location , $timeout , egCore , egNet , eg
                             });
                         }
                     });
+                    $scope.template_name = '';
                 }
 
                 $scope.deleteTemplate = function (n) {