--===============1410277295316702469== Content-Type: multipart/alternative; boundary=bcaec554d63c96868004c2486868 --bcaec554d63c96868004c2486868 Content-Type: text/plain; charset=ISO-8859-1 Hello, ownCloud. I was investigating the "PDF Viewer is not working" report [1]. And I have found that all default actions specified in full form as app/mime will not work for OC 4.x since all data-mime attributes are postfixed with the ; character while actions triggered by mimepart work fine. Thus, * FileActions.register('application/pdf;','Edit','',function(filename){* * * will work but *FileActions.register('application/pdf','Edit','',function(filename){* * * won't. For now I have fixed it locally by adding to *FileActions.getDefault * function *mime = mime.replace(';', '');* * * as the very first line but I would like to know what is the purpose for this suffix? [1] http://bugs.owncloud.org/thebuggenie/owncloud/issues/oc-917 --- Best regards, Victor Dubiniuk --bcaec554d63c96868004c2486868 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
=A0FileActions.register('app= lication/pdf;','Edit','',function(filename){<= div>
mime =3D mime.replace(';', '');