From: senator Date: Tue, 26 Oct 2010 22:11:57 +0000 (+0000) Subject: Backport r18480 from trunk: copy template editor bugfix X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=f7fd49fc93e7f6cdd2e1adeba10f8455d43531a2;p=working%2FEvergreen.git Backport r18480 from trunk: copy template editor bugfix git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@18481 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- 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 37fbf7cc00..b5e9d89d1d 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 fc5ef343d7..9b7cc40289 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