marekrei / encode-explorer

http://encode-explorer.siineiolekala.net
236 stars 120 forks source link

Rename file/dir #50

Open GHsun opened 8 years ago

GHsun commented 8 years ago

Hi introduced a file/directory renaming using jQuery. your comments/amendments are welcome

(I'm new to GitHub, let me know if I could to better)

P.S. I have used newer version of jQuery: <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script> However, proposed code will work with 1.5.2 version anyway

Cheers Gsun

borekon commented 8 years ago

It is not working for me. It is supposed a "rename" button has to appear?

GHsun commented 8 years ago

hi borekon if you use earlier file (e47897c) - then it will only work if user is logged in and $_CONFIG['upload_enable'] = true; in the second version (7e47a68) - user should be logged on and in config you should have $_CONFIG['rename_enable'] = true;

there is no button, code works on double click on a row, but not on the actual name of a file/drictory (basically next to the item you want to rename)

Spectroxx commented 3 years ago

Still works like a charm after 5 years.