[open-ils-commits] r18481 - in branches/rel_2_0/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:12:03 EDT 2010
Author: senator
Date: 2010-10-26 18:11:57 -0400 (Tue, 26 Oct 2010)
New Revision: 18481
Modified:
branches/rel_2_0/Open-ILS/web/js/ui/default/conify/global/asset/copy_template.js
branches/rel_2_0/Open-ILS/web/templates/default/conify/global/asset/copy_template.tt2
Log:
Backport r18480 from trunk: copy template editor bugfix
Modified: branches/rel_2_0/Open-ILS/web/js/ui/default/conify/global/asset/copy_template.js
===================================================================
--- branches/rel_2_0/Open-ILS/web/js/ui/default/conify/global/asset/copy_template.js 2010-10-26 22:11:19 UTC (rev 18480)
+++ branches/rel_2_0/Open-ILS/web/js/ui/default/conify/global/asset/copy_template.js 2010-10-26 22:11:57 UTC (rev 18481)
@@ -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: branches/rel_2_0/Open-ILS/web/templates/default/conify/global/asset/copy_template.tt2
===================================================================
--- branches/rel_2_0/Open-ILS/web/templates/default/conify/global/asset/copy_template.tt2 2010-10-26 22:11:19 UTC (rev 18480)
+++ branches/rel_2_0/Open-ILS/web/templates/default/conify/global/asset/copy_template.tt2 2010-10-26 22:11:57 UTC (rev 18481)
@@ -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