[open-ils-commits] r18480 - in trunk/Open-ILS/web: js/ui/default/conify/global/asset templates/default/conify/global/asset (senator)
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Oct 26 18:11:25 EDT 2010
Author: senator
Date: 2010-10-26 18:11:19 -0400 (Tue, 26 Oct 2010)
New Revision: 18480
Modified:
trunk/Open-ILS/web/js/ui/default/conify/global/asset/copy_template.js
trunk/Open-ILS/web/templates/default/conify/global/asset/copy_template.tt2
Log:
Copy template editor was still glitchy on create. No more.
Modified: trunk/Open-ILS/web/js/ui/default/conify/global/asset/copy_template.js
===================================================================
--- trunk/Open-ILS/web/js/ui/default/conify/global/asset/copy_template.js 2010-10-26 20:11:59 UTC (rev 18479)
+++ trunk/Open-ILS/web/js/ui/default/conify/global/asset/copy_template.js 2010-10-26 22:11:19 UTC (rev 18480)
@@ -17,7 +17,7 @@
"oncomplete": function(r) {
if (r = openils.Util.readResponse(r)) {
if (edit_pane.onPostSubmit)
- edit_pane.onPostSubmit();
+ edit_pane.onPostSubmit(null, [r]);
}
}
}
Modified: trunk/Open-ILS/web/templates/default/conify/global/asset/copy_template.tt2
===================================================================
--- trunk/Open-ILS/web/templates/default/conify/global/asset/copy_template.tt2 2010-10-26 20:11:59 UTC (rev 18479)
+++ trunk/Open-ILS/web/templates/default/conify/global/asset/copy_template.tt2 2010-10-26 22:11:19 UTC (rev 18480)
@@ -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>
More information about the open-ils-commits
mailing list