[ http://jira.nuxeo.org/browse/NXP-253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thibaut Soulcié reassigned NXP-253: ----------------------------------- Assignee: Thibaut Soulcié (was: Lise Kemen) > Provide right click menu on items in folder contents > ---------------------------------------------------- > > Key: NXP-253 > URL: http://jira.nuxeo.org/browse/NXP-253 > Project: Nuxeo Enterprise Platform > Issue Type: New Feature > Components: Web UI > Reporter: Thibaut Soulcié > Assignee: Thibaut Soulcié > Fix For: 5.2 M2 > > Original Estimate: 2 days > Remaining Estimate: 2 days > > In the list of contents of a folder/WS, user should be able to right click on > an item title to get permitted actions on it. > Menu should contain : > - content management actions (copy, delete and rename <- the title should > become a input field then with ok+cancel button) > - tabs actions (depending on item type but you know : edit, metadata, > relations, workflow, etc) > - copy URL > - download file (if possible) > - live edit (if possible) > Here are Jean-Marc's indications for a right-click menu : > " The difficulty is not to show Mozilla's contextual menu. > Here is the code i use to prevent from mozilla/IE menu : > var area = ... // a part of the DOM > area.oncontextmenu = new Function("return false"); > otherwise it's classic onmouseup (with prototype.js) : > this.showEvent = this.showEvent.bindAsEventListener(this); > Event.observe(area, "mouseup", this.showEvent); > with : > showEvent: function(e) { > if !isRightClick(e) { > return false; > } > ... > }, > isRightClick: function(event) { > return (((event.which) && (event.which == 3)) || > ((event.button) && (event.button == 2))); > }, > end of quote. > please contact me when doing it, so we can css-style the menu along with it's > development. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.nuxeo.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira _______________________________________________ ECM-tickets mailing list ECM-tickets@lists.nuxeo.com http://lists.nuxeo.com/mailman/listinfo/ecm-tickets