[Rt-commit] rt branch, 4.2/history-display-path, created. rt-4.1.6-384-gec95f73
Thomas Sibley
trs at bestpractical.com
Thu Mar 28 18:55:09 EDT 2013
The branch, 4.2/history-display-path has been created
at ec95f739611ea9fa6c86329dabcd54e78620ec62 (commit)
- Log -----------------------------------------------------------------
commit ec95f739611ea9fa6c86329dabcd54e78620ec62
Author: Thomas Sibley <trs at bestpractical.com>
Date: Thu Mar 28 15:45:50 2013 -0700
When on a separate history page, set the transaction DisplayPath to that page
DisplayPath controls where the per-txn anchors point, and we want to
stay on the history pages not jump to the record display pages.
diff --git a/share/html/Admin/Groups/History.html b/share/html/Admin/Groups/History.html
index 98a7c1f..8bdd595 100644
--- a/share/html/Admin/Groups/History.html
+++ b/share/html/Admin/Groups/History.html
@@ -51,6 +51,7 @@
<& /Elements/ShowHistory,
Object => $GroupObj,
ShowDisplayModes => 0,
+ DisplayPath => 'History.html',
&>
<%INIT>
diff --git a/share/html/Admin/Queues/History.html b/share/html/Admin/Queues/History.html
index 8e097b5..3c021a2 100644
--- a/share/html/Admin/Queues/History.html
+++ b/share/html/Admin/Queues/History.html
@@ -51,6 +51,7 @@
<& /Elements/ShowHistory,
Object => $QueueObj,
ShowDisplayModes => 0,
+ DisplayPath => 'History.html',
&>
<%INIT>
diff --git a/share/html/Admin/Users/History.html b/share/html/Admin/Users/History.html
index 6866dea..6cf05fb 100644
--- a/share/html/Admin/Users/History.html
+++ b/share/html/Admin/Users/History.html
@@ -51,6 +51,7 @@
<& /Elements/ShowHistory,
Object => $UserObj,
ShowDisplayModes => 0,
+ DisplayPath => 'History.html',
&>
<%INIT>
diff --git a/share/html/Articles/Article/History.html b/share/html/Articles/Article/History.html
index 53b66af..60a8085 100644
--- a/share/html/Articles/Article/History.html
+++ b/share/html/Articles/Article/History.html
@@ -52,6 +52,7 @@
ShowHeaders => 0,
ShowDisplayModes => 0,
ShowTitleBarCommands => 0,
+ DisplayPath => 'History.html',
&>
<%init>
my $article = RT::Article->new($session{'CurrentUser'});
diff --git a/share/html/Ticket/History.html b/share/html/Ticket/History.html
index dfffcd0..1dc49d0 100644
--- a/share/html/Ticket/History.html
+++ b/share/html/Ticket/History.html
@@ -57,7 +57,8 @@
Object => $Ticket,
ShowHeaders => $ARGS{'ShowHeaders'},
Attachments => $attachments,
- AttachmentContent => $attachment_content
+ AttachmentContent => $attachment_content,
+ DisplayPath => 'History.html',
&>
% $m->callback( %ARGS, CallbackName => 'AfterShowHistory', Ticket => $Ticket );
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list