Introduce new target type called "_browser", in order to specify browser default link handling

- Description widget using href, the default target would be _browser
- Call filemanager egw.open with target _browser
This commit is contained in:
Hadi Nategh
2015-03-27 10:13:57 +00:00
parent 8c2f74ba14
commit c3eed99cdd
3 changed files with 3 additions and 12 deletions

View File

@@ -745,7 +745,7 @@ app.classes.filemanager = AppJS.extend(
}
else
{
egw.open({path: path, type: data.data.mime}, 'file');
egw.open({path: path, type: data.data.mime}, 'file','view',null,'_browser');
}
return false;
},