Osticket: 1.11: List Item Preview

Created on 8 Feb 2019  路  10Comments  路  Source: osTicket/osTicket

3153 is no longer working in 1.11 on the ticket view. It works fine in the list item view.

Most helpful comment

@jdelhome3578 - We plan on reimplementing the list item preview.

All 10 comments

confirmed in my installation. Looks like this:
2019-02-08_1545

or there is just nothing to display

Does not work at all on ticket view.

@jdelhome3578

This is expected. Inline Edit took it's place:
https://github.com/osTicket/osTicket/blob/develop-next/include/class.list.php#L789-L791

Cheers.

@JediKev Why not have both? I use the item details often.

@jdelhome3578 - We plan on reimplementing the list item preview.

@jdelhome3578 - We plan on reimplementing the list item preview.

Hi, do we have a workaround while waiting for the next release?

@lezioul you could comment out https://github.com/osTicket/osTicket/blob/develop-next/include/class.list.php#L789

Additionally, I found out that changing the a element into a span element makes it so that both, changing the value and previewing the list item properties with a mouse hover will work.

Long entries may get truncated and break the html so I added strip_tags at /include/staff/ticket-view.inc.php:643 like so:

                    } elseif (strlen(strip_tags($v)) > 200) {
                      echo Format::truncate(strip_tags($v), 200);
                      echo "<br><i class=\"icon-edit\"></i>";
                    }
Was this page helpful?
0 / 5 - 0 ratings