From db16f043058c7c627e30aa68b871eb88723071d0 Mon Sep 17 00:00:00 2001 From: senator Date: Tue, 26 Oct 2010 22:11:19 +0000 Subject: [PATCH] Copy template editor was still glitchy on create. No more. git-svn-id: svn://svn.open-ils.org/ILS/trunk@18480 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/web/js/ui/default/conify/global/asset/copy_template.js | 2 +- Open-ILS/web/templates/default/conify/global/asset/copy_template.tt2 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Open-ILS/web/js/ui/default/conify/global/asset/copy_template.js b/Open-ILS/web/js/ui/default/conify/global/asset/copy_template.js index 37fbf7cc0..b5e9d89d1 100644 --- a/Open-ILS/web/js/ui/default/conify/global/asset/copy_template.js +++ b/Open-ILS/web/js/ui/default/conify/global/asset/copy_template.js @@ -17,7 +17,7 @@ function create_or_update_act(obj, opts, edit_pane) { "oncomplete": function(r) { if (r = openils.Util.readResponse(r)) { if (edit_pane.onPostSubmit) - edit_pane.onPostSubmit(); + edit_pane.onPostSubmit(null, [r]); } } } diff --git a/Open-ILS/web/templates/default/conify/global/asset/copy_template.tt2 b/Open-ILS/web/templates/default/conify/global/asset/copy_template.tt2 index fc5ef343d..9b7cc4028 100644 --- a/Open-ILS/web/templates/default/conify/global/asset/copy_template.tt2 +++ b/Open-ILS/web/templates/default/conify/global/asset/copy_template.tt2 @@ -7,7 +7,7 @@
Copy Templates
+ onClick="actGrid.showCreatePane()">New Copy Template
-- 2.11.0