Added absolute paths to ticket-menu.
authorMikal Kolbein Gule <m.k.gule@usit.uio.no>
Wed, 2 Jan 2013 12:41:31 +0000 (13:41 +0100)
committerMikal Kolbein Gule <m.k.gule@usit.uio.no>
Wed, 2 Jan 2013 12:41:31 +0000 (13:41 +0100)
local/html/Callbacks/UiOCallbacks/Elements/Tabs/Privileged

index 6b24643..10dea46 100644 (file)
@@ -30,12 +30,12 @@ if ($Ticket->CurrentUserHasRight('DeleteTicket') &&
     ($Ticket->Status ne 'deleted')) {
         $actions->child(
             isSpam => title => 'IsSpam',
-            path => "Display.html?Status=deleted&Queue=$spamqueuename&id=".$id,
+            path => "Ticket/Display.html?Status=deleted&Queue=$spamqueuename&id=".$id,
        );
 } else {
     $actions->child(
         isSpam => title => 'IsSpam',
-        path => "Display.html?Queue=$spamqueuename&id=".$id,
+        path => "Ticket/Display.html?Queue=$spamqueuename&id=".$id,
     );
 }
         
@@ -44,14 +44,14 @@ if ($Ticket->Queue eq $spamqueue->id) {
     ($Ticket->Status ne 'deleted')) {
         $actions->child(
                 isSpam => title => 'IsSpam',
-                path => "Display.html?Status=deleted&Queue=$spamqueuename&id=".$id,
+                path => "Ticket/Display.html?Status=deleted&Queue=$spamqueuename&id=".$id,
         );
                 }
         }
 
          $actions->child(
              Export => title => 'Export',
-             path => "Export.html?id=".$id,
+             path => "Ticket/Export.html?id=".$id,
          );