Forum

Notifications
Clear all

Code on Footer

8 Posts
5 Users
0 Reactions
43 Views
Posts: 1
(@procomtech)
Member
Joined: 7 years ago

Hi IT-Team can you please let me know how to solve it? I have the same issue


Reply
Posts: 9
Topic starter
(@it-team)
Member
Joined: 7 years ago

hi,

 

u can "fix" it by just allowing the preview in ticketview and not in the "overview" screen

https://github.com/clonemeagain/attachment_preview/issues/42#issuecomment-521273949

just edit your code as described there . you wont miss it in any other view and it doesnt cause problems in the ticket-view screen


Reply
Posts: 1177
Admin
(@stevland)
Member
Joined: 2 months ago

Thank your for sharing your workaround, @visimitra!


Reply
Posts: 43
(@visimitra)
Member
Joined: 8 years ago

update in osticket 1.12.3 102:

revise line 1061:
elseif (strpos($url, 'index.php') !== FALSE || strpos($url, 'tickets.php') !== FALSE || strpos($url, 'tasks.php') !== FALSE) { if ($_REQUEST['id'] && ($ticket=Ticket::lookup($_REQUEST['id']))) $tickets_view = TRUE; elseif ($_REQUEST['id'] && ($task=Task::lookup($_REQUEST['id']))) $tickets_view = TRUE; elseif ($_REQUEST['number'] && $ticket=Ticket::lookup(array('number' => $_REQUEST['number']))) $tickets_view = TRUE; } #elseif (strpos($url, 'index.php') !== FALSE || # strpos($url, 'tickets.php') !== FALSE) { // Might be a ticket page.. # $tickets_view = TRUE; #}


Reply
Page 2 / 2
Share: