register text/x-vcard as a fileaction for vcard import

remotes/origin/stable4
Georg Ehrke 13 years ago
parent 03120959e9
commit 194211500b
  1. 2
      apps/contacts/js/loader.js

@ -77,5 +77,7 @@ $(document).ready(function(){
if(typeof FileActions !== 'undefined'){
FileActions.register('text/vcard','importaddressbook', '', Contacts_Import.importdialog);
FileActions.setDefault('text/vcard','importaddressbook');
FileActions.register('text/x-vcard','importaddressbook', '', Contacts_Import.importdialog);
FileActions.setDefault('text/x-vcard','importaddressbook');
};
});
Loading…
Cancel
Save