Comments (2)
That's certainly possible. Off the top of my head, I would think if you've actioned below, then hide. Would certainly speed things up.
Otherwise we'd need to store that view per user per ticket either on the server or in the browser. Hmm, I'll add to my list
from attachment_preview.
I figured it out.. nice. Kinda like it. Have added to the 1.11 branch as an option. Basically, stores the ID of the ticket and any seen attachment ids that are automatically shown in the browsers localStorage cache, and if enabled, replaces those attachments that have already been seen, with the toggle button. Pretty nifty.
Doesn't affect ones that are already toggle buttons, only auto-shown. So, if you have it set to auto-show ALL, then look at a ticket, the next time you look at it, or if you refresh, you'll see all with toggles. I'll close this now, assuming the other PR tests ok as it has this included.
from attachment_preview.
Related Issues (20)
- OSTicket v1.12 (a076918) Task functionality HOT 5
- attachment_preview breaks jQuery HOT 7
- enable attachment_preview break display delete button HOT 4
- Can You Add Vimeo Video Support Too? HOT 2
- OSticket 1.14 Support HOT 6
- Just want to say: thanks HOT 1
- I see duplicates
- EML file attachments HOT 1
- Printing as ZIP results in malformed ZIP HOT 3
- Issue with audio attachments HOT 5
- Plugin Order needs to be correct for other plugins HOT 3
- Should this be working in 1.15? HOT 1
- Plugin not working on v1.16.1 HOT 24
- Hide /Show buttons disappeared in osTicket 1.16 version + PHP 8.0 HOT 1
- PDF preview stop working on v1.17 with PHP8.0 or PHP8.1 HOT 8
- Support for osTicket 1.17? HOT 2
- Brower Compatibility (osTicket v1.17 PHP8.0 with attachment_preview plugin ) HOT 9
- Support to EML file
- JPEG attachments will not showed inline with OSticket 1.17.2 --- PDF is working fine HOT 6
- Plugin no longer works on osTicket 1.18 HOT 13
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from attachment_preview.