Closed GoogleCodeExporter closed 8 years ago
Why would you do that? If user has no write permissions, there are no upload
etc options, but there is no mechanism to hide elements on random criteria.
Original comment by samuli.j...@gmail.com
on 22 Feb 2014 at 10:28
when I click on delete from Top menu than I am not gettng ctx object in
mollify.js file, so can you please tell me How can I get ctx object ? because I
want to make custom changes.
What is difference between mollify.js and mollify.full.js ?
Thanks
Original comment by john.bot...@gmail.com
on 24 Feb 2014 at 1:24
Top menu? You mean the menu next to the folder name? These menu items are not
customizable in same way as file view actions (if the "ctx" is the one
mentioned here:
https://code.google.com/p/mollify/wiki/ClientSettings#Actions_customizations)
These file list actions are the actions made on the list (click row, right
click row, double click row etc), not the actions in a menu somewhere, ctx
wouldn't even apply since the ctx tells about the action made in the list (what
kind of file view, which column etc).
You can add your own actions to these menus, but changing existing actions
needs modifying the source. And the "full.js" is the one with all required
libraries (jquery etc) so that you need to load only one script.
Original comment by samuli.j...@gmail.com
on 25 Feb 2014 at 5:29
I had applied the same code as you suggested but still i am not getting ctc
object in top menu. I want in itemCollectionHandler : function(items) js
function.
Original comment by john.bot...@gmail.com
on 26 Feb 2014 at 10:17
You did not understand, those actions don't have ctx because they are NOT file
list actions. They are generic actions for items/item collections that can be
shown anywhere.
Original comment by samuli.j...@gmail.com
on 26 Feb 2014 at 11:02
Just want to add that of course it would be technically possible to add generic
context object to these actions as well, which would vary based on the place
where the action is shown.
But in your version there is no ctx for item and item collection actions.
Original comment by samuli.j...@gmail.com
on 26 Feb 2014 at 11:27
Original issue reported on code.google.com by
john.bot...@gmail.com
on 21 Feb 2014 at 2:46