[open-ils-commits] r11708 - in trunk/Open-ILS/web: js/ui/default/conify/global/config templates/default/conify/global/config
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Dec 30 11:11:44 EST 2008
Author: erickson
Date: 2008-12-30 11:11:42 -0500 (Tue, 30 Dec 2008)
New Revision: 11708
Modified:
trunk/Open-ILS/web/js/ui/default/conify/global/config/billing_type.js
trunk/Open-ILS/web/templates/default/conify/global/config/billing_type.tt2
Log:
move the grid menu init code into the JS to improve render timing
Modified: trunk/Open-ILS/web/js/ui/default/conify/global/config/billing_type.js
===================================================================
--- trunk/Open-ILS/web/js/ui/default/conify/global/config/billing_type.js 2008-12-30 15:53:22 UTC (rev 11707)
+++ trunk/Open-ILS/web/js/ui/default/conify/global/config/billing_type.js 2008-12-30 16:11:42 UTC (rev 11708)
@@ -17,6 +17,12 @@
}
function btInit() {
+ btGridMenu.init({
+ grid: btGrid,
+ prefix: 'conify.global.config.billing_type.btGridMenu',
+ authtoken: openils.User.authtoken
+ });
+
buildBTGrid();
var connect = function() {
dojo.connect(btContextOrgSelect, 'onChange',
Modified: trunk/Open-ILS/web/templates/default/conify/global/config/billing_type.tt2
===================================================================
--- trunk/Open-ILS/web/templates/default/conify/global/config/billing_type.tt2 2008-12-30 15:53:22 UTC (rev 11707)
+++ trunk/Open-ILS/web/templates/default/conify/global/config/billing_type.tt2 2008-12-30 16:11:42 UTC (rev 11708)
@@ -60,18 +60,6 @@
</table>
</div>
</div>
-<!-- attach the grid to the column picker and load the settings -->
-<script>
- openils.Util.addOnLoad(
- function() {
- btGridMenu.init({
- grid: btGrid,
- prefix: 'conify.global.config.billing_type.btGridMenu',
- authtoken: openils.User.authtoken
- });
- }
- );
-</script>
[% END %]
More information about the open-ils-commits
mailing list