Comments (11)
You can use jQuery delegate
on some container (in which filelist) instead of "infinity" checks.
from files_rightclick.
I'll release an update on the end of the week ๐
from files_rightclick.
Ok thanks for the feedback.
The application is no more NC 12 friendly (87b577a), until I find a solution.
from files_rightclick.
Unfortunate, but thanks for the reply. Makes sense now.
from files_rightclick.
What problem with NC12, maybe I can help ?
from files_rightclick.
It appears the js file is loaded but nothing happend #3
from files_rightclick.
If you put console.log(delimiter);
here https://github.com/NastuzziSamy/files_rightclick/blob/master/js/script.js#L178 in NC12 length
will be 0
, but in NC13 it will be 3
Seems your script runs early than needed in NC12 (when no tbody[id=fileList]
yet on page)
Maybe it helps.
from files_rightclick.
Ok thank you a lot @zorn
I will add a function which will check if the delimiter exists and check until it exists to apply the contextmenu
from files_rightclick.
Any news on this when an updated version will be released that brings back compatibility with NC12?
from files_rightclick.
Got the same problem on NC12 using 0.6.1. Changed the js/script.js at the end to execute the registration later. Seems to work.
$( document ).ready(function() { // added
$('<style class="rightClickStyle"></style>').appendTo('head');
$('table[id*=filestable]').contextmenu(openContextOnRightClick);
}); //added
from files_rightclick.
I dont even notice that but it is fixed since I updated how the app works
from files_rightclick.
Related Issues (20)
- ๅณ้ฎ็นๅป่ๅไธ้ขๆฒกๆโๅ ฑไบซโ่ฟไธช้้กน HOT 2
- Guideline to extend the context menu from other apps HOT 2
- Share option being displayed erroneously
- Only delete and share work when using NC 22.2.2
- Delete only works somethimes in NC 23 HOT 2
- UI Bug on Safari
- Action "Leave this share" how to disable it?
- [Bug]: Contex menu on shared folders shows more actions than allowed when checkbox is ticked HOT 2
- [Bug]: Nextcloud (22, 23, 24) Files : Inconsistent context menu (right-click) on "selected" trash items (+ "multiple selection" feature bug) HOT 2
- [Bug]: Nextcloud (22, 23, 24) Files : Inconsistent context menu (right-click) on "selected" trash items (+ "multiple selection" feature bug) HOT 14
- [25.0.0 beta 6]: Context menu not working HOT 1
- edit locally in file app context menu not always present HOT 3
- Uncaught TypeError: instance is undefined
- Can't work in Nextcloud 26.0.1
- Right Click broken with tap-to-click enabled in Linux HOT 1
- [Bug]: 25.0.5 : Refused to execute inline event handler because it violates the Content Security Policy directive HOT 2
- Deprecated as of Nextcloud 28 HOT 2
- Menu "Move or copy" is not translated to different Languages HOT 1
- Right click not working when using it far down in a directory.
- Option "Delete" in right click menu is not translated
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 files_rightclick.