From 69d6875e204baec1d3bdaa01245ea8ba4035d131 Mon Sep 17 00:00:00 2001 From: miker Date: Tue, 26 Oct 2010 14:52:25 +0000 Subject: [PATCH] JS reordering to account for readyState event leakage from XHR to the main page git-svn-id: svn://svn.open-ils.org/ILS/trunk@18474 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- .../default/acq/financial/list_currency_types.tt2 | 25 +++---- .../web/templates/default/acq/lineitem/history.tt2 | 21 +++--- .../web/templates/default/acq/po/edi_messages.tt2 | 33 ++++----- Open-ILS/web/templates/default/acq/po/history.tt2 | 21 +++--- Open-ILS/web/templates/default/acq/po/view.tt2 | 6 +- .../web/templates/default/acq/settings/li_attr.tt2 | 3 +- Open-ILS/web/templates/default/booking/pickup.tt2 | 25 +++---- .../web/templates/default/booking/reservation.tt2 | 13 ++-- Open-ILS/web/templates/default/booking/return.tt2 | 31 ++++---- .../default/conify/global/acq/claim_event_type.tt2 | 18 ++--- .../default/conify/global/acq/claim_policy.tt2 | 19 ++--- .../conify/global/acq/claim_policy_action.tt2 | 19 ++--- .../default/conify/global/acq/claim_type.tt2 | 19 ++--- .../conify/global/acq/distribution_formula.tt2 | 40 +++++------ .../default/conify/global/acq/edi_account.tt2 | 56 +++++++-------- .../default/conify/global/acq/exchange_rate.tt2 | 19 ++--- .../conify/global/acq/invoice_item_type.tt2 | 15 ++-- .../conify/global/acq/invoice_payment_method.tt2 | 15 ++-- .../default/conify/global/acq/provider.tt2 | 67 +++++++++--------- .../default/conify/global/action/survey.tt2 | 24 +++---- .../default/conify/global/action/survey/edit.tt2 | 14 ++-- .../action_trigger/event_definition_data.tt2 | 12 ++-- .../default/conify/global/booking/resource.tt2 | 27 +++---- .../conify/global/booking/resource_attr.tt2 | 20 +++--- .../conify/global/booking/resource_attr_map.tt2 | 17 ++--- .../conify/global/booking/resource_attr_value.tt2 | 21 +++--- .../conify/global/booking/resource_type.tt2 | 21 +++--- .../default/conify/global/config/circ_modifier.tt2 | 82 +++++++++++----------- .../default/conify/global/config/global_flag.tt2 | 21 +++--- .../global/config/hold_matrix_matchpoint.tt2 | 21 +++--- .../conify/global/config/org_unit_setting_type.tt2 | 36 +++++----- .../conify/global/config/rule_age_hold_protect.tt2 | 11 +-- .../conify/global/config/rule_circ_duration.tt2 | 11 +-- .../default/conify/global/config/rule_max_fine.tt2 | 11 +-- .../conify/global/config/rule_recurring_fine.tt2 | 11 +-- .../conify/global/config/standing_penalty.tt2 | 47 +++++++------ .../conify/global/config/usr_setting_type.tt2 | 36 +++++----- .../global/permission/grp_penalty_threshold.tt2 | 2 +- Open-ILS/web/templates/default/menu.tt2 | 18 ++--- .../web/templates/default/serial/list_stream.tt2 | 5 +- 40 files changed, 479 insertions(+), 454 deletions(-) diff --git a/Open-ILS/web/templates/default/acq/financial/list_currency_types.tt2 b/Open-ILS/web/templates/default/acq/financial/list_currency_types.tt2 index 107132b1a1..2b00688386 100644 --- a/Open-ILS/web/templates/default/acq/financial/list_currency_types.tt2 +++ b/Open-ILS/web/templates/default/acq/financial/list_currency_types.tt2 @@ -1,16 +1,4 @@ [% WRAPPER default/base.tt2 %] - -
Currency Type
@@ -29,6 +17,19 @@ editOnEnter='true'>
+ + + [% END %] diff --git a/Open-ILS/web/templates/default/acq/lineitem/history.tt2 b/Open-ILS/web/templates/default/acq/lineitem/history.tt2 index 4d0eaed412..4a363dfa6f 100644 --- a/Open-ILS/web/templates/default/acq/lineitem/history.tt2 +++ b/Open-ILS/web/templates/default/acq/lineitem/history.tt2 @@ -1,15 +1,5 @@ [% WRAPPER "default/base.tt2" %] [% ctx.page_title = "Lineitem History" %] -

Lineitem History


@@ -26,4 +16,15 @@ showPaginator='true'>
+ + [% END %] diff --git a/Open-ILS/web/templates/default/acq/po/edi_messages.tt2 b/Open-ILS/web/templates/default/acq/po/edi_messages.tt2 index bf4a8b8c81..76c2101eec 100644 --- a/Open-ILS/web/templates/default/acq/po/edi_messages.tt2 +++ b/Open-ILS/web/templates/default/acq/po/edi_messages.tt2 @@ -1,21 +1,5 @@ [% WRAPPER "default/base.tt2" %] [% ctx.page_title = "EDI Messages" %] - [% IF ctx.page_args.0 %]

EDI Messages (Purchase Order [% ctx.page_args.0 %])

[% ELSE %] @@ -42,4 +26,21 @@ showPaginator='true'>
+ + [% END %] diff --git a/Open-ILS/web/templates/default/acq/po/history.tt2 b/Open-ILS/web/templates/default/acq/po/history.tt2 index 54545d4e53..2b3c5d0924 100644 --- a/Open-ILS/web/templates/default/acq/po/history.tt2 +++ b/Open-ILS/web/templates/default/acq/po/history.tt2 @@ -1,15 +1,5 @@ [% WRAPPER "default/base.tt2" %] [% ctx.page_title = "PO History" %] -

Purchase Order History


@@ -26,4 +16,15 @@ showPaginator='true'>
+ + [% END %] diff --git a/Open-ILS/web/templates/default/acq/po/view.tt2 b/Open-ILS/web/templates/default/acq/po/view.tt2 index bf410e7665..bfbc776dc4 100644 --- a/Open-ILS/web/templates/default/acq/po/view.tt2 +++ b/Open-ILS/web/templates/default/acq/po/view.tt2 @@ -1,8 +1,5 @@ [% WRAPPER 'default/base.tt2' %] [% ctx.page_title = "Purchase Order" %] - - -
@@ -118,6 +115,9 @@
+ + +
@@ -70,4 +69,6 @@
+ + [% END %] diff --git a/Open-ILS/web/templates/default/booking/pickup.tt2 b/Open-ILS/web/templates/default/booking/pickup.tt2 index 5a81655ed3..8cff3fa138 100644 --- a/Open-ILS/web/templates/default/booking/pickup.tt2 +++ b/Open-ILS/web/templates/default/booking/pickup.tt2 @@ -1,17 +1,5 @@ [% WRAPPER "default/base.tt2" %] - - - -

@@ -74,4 +62,17 @@
+ + + + + [% END %] diff --git a/Open-ILS/web/templates/default/booking/reservation.tt2 b/Open-ILS/web/templates/default/booking/reservation.tt2 index bd9d138fea..5eb4a1d398 100644 --- a/Open-ILS/web/templates/default/booking/reservation.tt2 +++ b/Open-ILS/web/templates/default/booking/reservation.tt2 @@ -1,11 +1,5 @@ [% WRAPPER "default/base.tt2" %] - - -

@@ -114,4 +108,11 @@
+ + + + [% END %] diff --git a/Open-ILS/web/templates/default/booking/return.tt2 b/Open-ILS/web/templates/default/booking/return.tt2 index cf0a5317d7..a2f61c7da7 100644 --- a/Open-ILS/web/templates/default/booking/return.tt2 +++ b/Open-ILS/web/templates/default/booking/return.tt2 @@ -1,20 +1,5 @@ [% WRAPPER "default/base.tt2" %] - - - -

@@ -84,4 +69,20 @@
+ + + + + [% END %] diff --git a/Open-ILS/web/templates/default/conify/global/acq/claim_event_type.tt2 b/Open-ILS/web/templates/default/conify/global/acq/claim_event_type.tt2 index 0777455cc4..ab91d7800a 100644 --- a/Open-ILS/web/templates/default/conify/global/acq/claim_event_type.tt2 +++ b/Open-ILS/web/templates/default/conify/global/acq/claim_event_type.tt2 @@ -1,14 +1,5 @@ [% WRAPPER default/base.tt2 %] [% ctx.page_title = 'Claim Event Types' %] - -
@@ -39,4 +30,13 @@ openils.Util.addOnLoad( editOnEnter="true">
+ + [% END %] diff --git a/Open-ILS/web/templates/default/conify/global/acq/claim_policy.tt2 b/Open-ILS/web/templates/default/conify/global/acq/claim_policy.tt2 index de982fa275..9bfa59808b 100644 --- a/Open-ILS/web/templates/default/conify/global/acq/claim_policy.tt2 +++ b/Open-ILS/web/templates/default/conify/global/acq/claim_policy.tt2 @@ -1,15 +1,6 @@ [% WRAPPER default/base.tt2 %] [% ctx.page_title = 'Claim Policies' %] - -
@@ -38,4 +29,14 @@ openils.Util.addOnLoad( editOnEnter="true">
+ + + [% END %] diff --git a/Open-ILS/web/templates/default/conify/global/acq/claim_policy_action.tt2 b/Open-ILS/web/templates/default/conify/global/acq/claim_policy_action.tt2 index 9fdfadb6e4..603b543b45 100644 --- a/Open-ILS/web/templates/default/conify/global/acq/claim_policy_action.tt2 +++ b/Open-ILS/web/templates/default/conify/global/acq/claim_policy_action.tt2 @@ -1,15 +1,6 @@ [% WRAPPER default/base.tt2 %] [% ctx.page_title = 'Claim Policy Actions' %] - -
@@ -31,4 +22,14 @@ openils.Util.addOnLoad( editOnEnter="true">
+ + + [% END %] diff --git a/Open-ILS/web/templates/default/conify/global/acq/claim_type.tt2 b/Open-ILS/web/templates/default/conify/global/acq/claim_type.tt2 index 77cf875816..7f0fbc3cb0 100644 --- a/Open-ILS/web/templates/default/conify/global/acq/claim_type.tt2 +++ b/Open-ILS/web/templates/default/conify/global/acq/claim_type.tt2 @@ -1,15 +1,6 @@ [% WRAPPER default/base.tt2 %] [% ctx.page_title = 'Claim Types' %] - -
@@ -38,4 +29,14 @@ openils.Util.addOnLoad( editOnEnter="true">
+ + + [% END %] diff --git a/Open-ILS/web/templates/default/conify/global/acq/distribution_formula.tt2 b/Open-ILS/web/templates/default/conify/global/acq/distribution_formula.tt2 index 94a7e2ec3d..d2ec57f2bc 100644 --- a/Open-ILS/web/templates/default/conify/global/acq/distribution_formula.tt2 +++ b/Open-ILS/web/templates/default/conify/global/acq/distribution_formula.tt2 @@ -1,25 +1,5 @@ [% WRAPPER default/base.tt2 %] [% ctx.page_title = 'Distribution Formulas' %] - - - -
@@ -95,5 +75,25 @@
+ + + + [% END %] diff --git a/Open-ILS/web/templates/default/conify/global/acq/edi_account.tt2 b/Open-ILS/web/templates/default/conify/global/acq/edi_account.tt2 index d060031788..8c9e170d2f 100644 --- a/Open-ILS/web/templates/default/conify/global/acq/edi_account.tt2 +++ b/Open-ILS/web/templates/default/conify/global/acq/edi_account.tt2 @@ -1,33 +1,5 @@ [% WRAPPER default/base.tt2 %] [% ctx.page_title = 'EDI Accounts' %] - - - @@ -75,5 +47,33 @@ function formatProvider(value) {
+ + + [% END %] diff --git a/Open-ILS/web/templates/default/conify/global/acq/exchange_rate.tt2 b/Open-ILS/web/templates/default/conify/global/acq/exchange_rate.tt2 index 937e99f862..47694e6801 100644 --- a/Open-ILS/web/templates/default/conify/global/acq/exchange_rate.tt2 +++ b/Open-ILS/web/templates/default/conify/global/acq/exchange_rate.tt2 @@ -1,14 +1,5 @@ [% WRAPPER default/base.tt2 %] [% ctx.page_title = 'Exchange Rates' %] -
Exchange Rates
@@ -27,6 +18,16 @@ editOnEnter='true'>
+ + [% END %] diff --git a/Open-ILS/web/templates/default/conify/global/acq/invoice_item_type.tt2 b/Open-ILS/web/templates/default/conify/global/acq/invoice_item_type.tt2 index 3729442db2..b1eeced2bf 100644 --- a/Open-ILS/web/templates/default/conify/global/acq/invoice_item_type.tt2 +++ b/Open-ILS/web/templates/default/conify/global/acq/invoice_item_type.tt2 @@ -1,12 +1,5 @@ [% WRAPPER default/base.tt2 %] [% ctx.page_title = 'Invoice Item Types' %] -
Invoice Item Types
@@ -24,4 +17,12 @@ editOnEnter="true">
+ + [% END %] diff --git a/Open-ILS/web/templates/default/conify/global/acq/invoice_payment_method.tt2 b/Open-ILS/web/templates/default/conify/global/acq/invoice_payment_method.tt2 index 610b86cd4b..31389918e1 100644 --- a/Open-ILS/web/templates/default/conify/global/acq/invoice_payment_method.tt2 +++ b/Open-ILS/web/templates/default/conify/global/acq/invoice_payment_method.tt2 @@ -1,12 +1,5 @@ [% WRAPPER default/base.tt2 %] [% ctx.page_title = 'Invoice Payment Methods' %] -
Invoice Payment Methods
@@ -24,4 +17,12 @@ editOnEnter="true">
+ + [% END %] diff --git a/Open-ILS/web/templates/default/conify/global/acq/provider.tt2 b/Open-ILS/web/templates/default/conify/global/acq/provider.tt2 index de2049024c..ddef4b88fb 100644 --- a/Open-ILS/web/templates/default/conify/global/acq/provider.tt2 +++ b/Open-ILS/web/templates/default/conify/global/acq/provider.tt2 @@ -1,38 +1,5 @@ [% WRAPPER default/base.tt2 %] [% ctx.page_title = 'Providers' %] - - - - + + [% END %] diff --git a/Open-ILS/web/templates/default/conify/global/config/global_flag.tt2 b/Open-ILS/web/templates/default/conify/global/config/global_flag.tt2 index 8c4f4ec89e..10a7a3346c 100644 --- a/Open-ILS/web/templates/default/conify/global/config/global_flag.tt2 +++ b/Open-ILS/web/templates/default/conify/global/config/global_flag.tt2 @@ -1,15 +1,5 @@ [% WRAPPER default/base.tt2 %] [% ctx.page_title = 'Global Flags' %] -
Global Flags
@@ -26,6 +16,17 @@ hideSelector='true' editOnEnter='true'/>
+ + [% END %] diff --git a/Open-ILS/web/templates/default/conify/global/config/hold_matrix_matchpoint.tt2 b/Open-ILS/web/templates/default/conify/global/config/hold_matrix_matchpoint.tt2 index 678966f15f..3c8bbbb864 100644 --- a/Open-ILS/web/templates/default/conify/global/config/hold_matrix_matchpoint.tt2 +++ b/Open-ILS/web/templates/default/conify/global/config/hold_matrix_matchpoint.tt2 @@ -1,15 +1,5 @@ [% ctx.page_title = 'Hold Policy Configuration' %] [% WRAPPER default/base.tt2 %] -
Hold Policy Configuration
@@ -30,4 +20,15 @@
+ + [% END %] diff --git a/Open-ILS/web/templates/default/conify/global/config/org_unit_setting_type.tt2 b/Open-ILS/web/templates/default/conify/global/config/org_unit_setting_type.tt2 index b23d01462a..4768cce4c4 100644 --- a/Open-ILS/web/templates/default/conify/global/config/org_unit_setting_type.tt2 +++ b/Open-ILS/web/templates/default/conify/global/config/org_unit_setting_type.tt2 @@ -1,24 +1,6 @@ [% WRAPPER default/base.tt2 %] [% ctx.page_title = 'Org Unit Setting Types' %] - - + + [% END %] diff --git a/Open-ILS/web/templates/default/conify/global/permission/grp_penalty_threshold.tt2 b/Open-ILS/web/templates/default/conify/global/permission/grp_penalty_threshold.tt2 index c2e379dfda..5984739634 100644 --- a/Open-ILS/web/templates/default/conify/global/permission/grp_penalty_threshold.tt2 +++ b/Open-ILS/web/templates/default/conify/global/permission/grp_penalty_threshold.tt2 @@ -1,6 +1,5 @@ [% WRAPPER default/base.tt2 %] [% ctx.page_title = 'Group Penalty Thresholds' %] -
Penalty Threshold
@@ -31,6 +30,7 @@
+ - + + diff --git a/Open-ILS/web/templates/default/serial/list_stream.tt2 b/Open-ILS/web/templates/default/serial/list_stream.tt2 index 7cda19dbba..660c761296 100644 --- a/Open-ILS/web/templates/default/serial/list_stream.tt2 +++ b/Open-ILS/web/templates/default/serial/list_stream.tt2 @@ -1,9 +1,5 @@ [% WRAPPER default/base.tt2 %] [% ctx.page_title = "Streams" %] -
@@ -67,4 +63,5 @@
+ [% END %] -- 2.11.0