Issue (View Online)

Key: NXP-253
Issue Type: New Feature New Feature
Status: Open Open
Priority: Minor Minor
Assignee: Thierry Delprat
Reporter: Thibaut Soulcié

Operations

View all
View comments
View history
Provide right click menu on items in folder contents 
Updated: 12/02/07 20:28   Created: 22/11/06 10:59  

The following issue has been updated.

Updater: Eric Barroca
Date: 12/02/07 20:28

Field Original Value New Value
Change By Eric Barroca on 12/02/07 20:28
Fix Version/s 5.1 M3

Project: Nuxeo Enterprise Platform 5
Components: Web UI
Fix Versions: 5.1 M3

 Description   
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. 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 was automatically generated by Atlassian JIRA Enterprise Edition, Version: 3.7.2-186 - Bug/feature request.
If you think it was sent incorrectly, contact one of this server's administrators.

_______________________________________________
ECM-tickets mailing list
ECM-tickets@lists.nuxeo.com
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to