* Filemanager/FMail/Calendar: allow to open .eml and .ics files from filemanager in fmail or calendar (infrastructure for apps to register which mime-types they can open)

This commit is contained in:
Ralf Becker
2012-03-08 18:43:40 +00:00
parent 96271ea210
commit dd8a5cf29e
5 changed files with 128 additions and 34 deletions

View File

@@ -352,15 +352,5 @@ function nm_activate_link(_action, _senders)
{
// $j(_senders[0].iface.getDOMNode()).find('a:first').trigger('click'); not sure why this is NOT working
var a_href = $j(_senders[0].iface.getDOMNode()).find('a:first');
if (typeof a_href != undefined)
{
var target = a_href.attr('target');
var href = a_href.attr('href');
if (target)
window.open(href,target);
else
window.location = href;
}
$j(_senders[0].iface.getDOMNode()).find('a:first').click();
}