jwagner79 / DropboxZimlet

A Zimlet for Dropbox integration. Provides the ability to save an attachment in Zimbra to Dropbox and attach a link to a Dropbox file when composing a message.
7 stars 7 forks source link

No popup in 8.6 #12

Open dik23 opened 8 years ago

dik23 commented 8 years ago

Using the code downloaded from aldoexpert fork here:

https://github.com/aldoexpert/DropboxZimlet/tree/master/com_zimbra_dropbox

Attaching to an email works as expected, I click on the Attach drop down, select Dropbox and a new window appears giving me access to my Dropbox account.

The problem arrises when I'm trying to upload a file that's attached to a received email. The link "Dropbox" appears to the right of the file along with "Preview", "Download", "Briefcase" and "Remove" but when I click on it a new window doesn't appear.

I have tested this with both Chrome and Firefox on both Win7 and Ubuntu 15.04.

dik23 commented 8 years ago

To expand when I try and use this in 8.6 I am seeing:

XMLHttpRequest cannot load https://api.dropbox.com/1/oauth/request_token?oauth_consumer_key=xxxxxxx…ture_method=PLAINTEXT&oauth_version=1.0&oauth_signature=xxxxxxxxx. Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://xxxxxx' is therefore not allowed access.

I am unsure where to add the header that's asked for

canbaran14 commented 7 years ago

Did you find something about it? Because I've got same problem. If you find please help me.