Copy template editor was still glitchy on create. No more.
authorsenator <senator@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 26 Oct 2010 22:11:19 +0000 (22:11 +0000)
committersenator <senator@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 26 Oct 2010 22:11:19 +0000 (22:11 +0000)
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
Open-ILS/web/templates/default/conify/global/asset/copy_template.tt2

index 37fbf7c..b5e9d89 100644 (file)
@@ -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]);
                 }
             }
         }
index fc5ef34..9b7cc40 100644 (file)
@@ -7,7 +7,7 @@
         <div>Copy Templates</div>
         <div>
             <button dojoType="dijit.form.Button"
-                onClick="actGrid.showCreateDialog()">New Copy Template</button>
+                onClick="actGrid.showCreatePane()">New Copy Template</button>
             <button dojoType="dijit.form.Button"
                 onClick="actGrid.deleteSelected()">Delete Selected</button>
         </div>