Monotone-Parent: 06c16e479439d6ee1078d469cac954070da2357b

Monotone-Revision: f050642fcfd85a888681137f9572e2646d4cadc9

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2010-06-05T04:45:00
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Wolfgang Sourdeau 2010-06-05 04:45:00 +00:00
parent 77bcf92491
commit d5ae782764
2 changed files with 10 additions and 3 deletions

View File

@ -1,5 +1,9 @@
2010-06-05 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* UI/WebServerResources/generic.js (onBodyClickContextMenu):
leave the context menu to appear on "A" elements with a
"clickableLink" class.
* SoObjects/SOGo/SOGoGCSFolder.m (-realDavURL): new method that
returns the the owner version of the URL to the current folder.

View File

@ -1442,9 +1442,12 @@ function onLoadHandler(event) {
}
function onBodyClickContextMenu(event) {
if (!(event.target
&& (event.target.tagName == "INPUT"
|| event.target.tagName == "TEXTAREA")))
var target = $(event.target);
if (!(target
&& (target.tagName == "INPUT"
|| target.tagName == "TEXTAREA"
|| (target.tagName == "A"
&& target.hasClassName("clickableLink")))))
preventDefault(event);
}