fixed syntax error in js
authorLlewellyn Marshall <llewellyn.marshall@ncdcr.gov>
Thu, 18 Jun 2020 16:52:48 +0000 (12:52 -0400)
committerLlewellyn Marshall <llewellyn.marshall@ncdcr.gov>
Tue, 17 Aug 2021 13:50:49 +0000 (09:50 -0400)
(cherry picked from commit 6e75c4861fd3949e1defbc04332317e9425d426b)

Open-ILS/web/reports/oils_rpt_folder_window.js

index 337ad45..b7cfffa 100644 (file)
@@ -361,13 +361,13 @@ oilsRptFolderWindow.prototype.cloneTemplate = function(template) {
 }
 
 oilsRptFolderWindow.prototype.exportTemplate = function(template) {
-    var req2 = new Request(OILS_RPT_DELETE_FOLDER
+    var req2 = new Request(OILS_RPT_EXPORT_TEMPLATE
     SESSION, template);
 
     req2.callback( 
         function(r2) {
             var res = r2.getResultObject();
-            else alert(res);
+            alert(res);
         }
     );