From: miker Date: Tue, 26 Oct 2010 14:52:25 +0000 (+0000) Subject: JS reordering to account for readyState event leakage from XHR to the main page X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=69d6875e204baec1d3bdaa01245ea8ba4035d131;p=evergreen%2Fpines.git 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 --- 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 %]