From: Lebbeous Fogle-Weekley Date: Mon, 19 Mar 2012 18:39:09 +0000 (-0400) Subject: Alt serials opac reloading cleanup X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=c8fa94a20ebf252b46619d1d6c7e813f1e7517a1;p=working%2FEvergreen.git Alt serials opac reloading cleanup Removed a call to xulG.reload_opac() that was no longer wanted More debuggable. I think it might still be possbile to get to alt serial control interfaces in contexts where they don't have xulG.reload_opac(), but I can't think of any way to do it just now. Signed-off-by: Lebbeous Fogle-Weekley --- diff --git a/Open-ILS/src/templates/serial/list_item.tt2 b/Open-ILS/src/templates/serial/list_item.tt2 index 950b9d5243..30dd390a9c 100644 --- a/Open-ILS/src/templates/serial/list_item.tt2 +++ b/Open-ILS/src/templates/serial/list_item.tt2 @@ -47,7 +47,7 @@ showSequenceFields="true" fmClass="sitem" editPaneOnSubmit="update_sitem_safely" - onPostSubmit="function(){window.xulG && xulG.reload_opac()}" + onPostSubmit="attempt_reload_opac" showPaginator="true" editOnEnter="true"> @@ -120,5 +120,6 @@ + [% END %] diff --git a/Open-ILS/src/templates/serial/list_stream.tt2 b/Open-ILS/src/templates/serial/list_stream.tt2 index 0b8c2f7207..71ffa27f80 100644 --- a/Open-ILS/src/templates/serial/list_stream.tt2 +++ b/Open-ILS/src/templates/serial/list_stream.tt2 @@ -37,7 +37,7 @@ fieldOrder="['id','distribution','routing_label']" suppressFields="['distribution']" showSequenceFields="true" - onPostSubmit="function(){window.xulG && xulG.reload_opac()}" + onPostSubmit="attempt_reload_opac" fmClass="sstr" showPaginator="true" editOnEnter="true"> @@ -146,5 +146,6 @@
+ [% END %] diff --git a/Open-ILS/src/templates/serial/list_subscription.tt2 b/Open-ILS/src/templates/serial/list_subscription.tt2 index dc23bc9eaa..719bee0ca3 100644 --- a/Open-ILS/src/templates/serial/list_subscription.tt2 +++ b/Open-ILS/src/templates/serial/list_subscription.tt2 @@ -1,7 +1,9 @@ [% WRAPPER base.tt2 %] [% ctx.page_title = "Subscriptions" %] - + +