|
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
|
|
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.
|
|
|
|
|
|
_______________________________________________
ECM-tickets mailing list
ECM-tickets@lists.nuxeo.com
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets