1

I'm trying to use jQuery DataTables and TableTools in conjunction with my Django app, which uses Django-Storages (Boto) to manage my static files on S3. Although I can successfully point my SWF file to the SWF on S3, I've noticed that none of the COPY CSV etc buttons work (except PRINT) when using S3. However, it all works perfectly once I point to a public CDN.

I can use the CDN but am wondering if anyone knows why it doesn't work on S3. I'm guessing it may be a permissions issue?

4

1 回答 1

0

我在 S3 上面临与 SWF 相同的问题。我通过将 swf 文件移回服务器而不是从 S3 加载来解决这个问题。希望这有帮助。

我的理论如下,未经测试:我怀疑这是由于跨域问题,因为从 S3 加载,文件路径以及域名都发生了变化。如果操作脚本未检查是否指定了跨域策略,则可能会发生这种情况。

于 2014-07-01T02:15:39.240 回答