Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ZeroClipboard URL is hardcoded into code #17

Open
aziz opened this issue May 16, 2011 · 3 comments
Open

ZeroClipboard URL is hardcoded into code #17

aziz opened this issue May 16, 2011 · 3 comments

Comments

@aziz
Copy link
Contributor

aziz commented May 16, 2011

    ZeroClipboard.setMoviePath( 'http://localhost/~mrflix/LayerStyles/js/zeroclipboard/ZeroClipboard.swf' );

https://github.com/mrflix/LayerStyles/blob/master/js/codebox.js#L67

it does not work on local copies. :(

@mrflix
Copy link
Owner

mrflix commented May 16, 2011

o LOL what a big fail. I totally missed to update that. I wrote a bugfix which detects the current url location thus making this dynamically - that should solve it!

@aziz
Copy link
Contributor Author

aziz commented May 17, 2011

worth to mention that the copy button on the codebox has never worked for me (before and even after your patch)
I recommend switching to Clippy

@mrflix
Copy link
Owner

mrflix commented May 17, 2011

Before the patch it was obvious that the copy button only worked on my system because of the hardwired path.
The patch makes this path dynamic and it worked for me.
May it be, that it's just that the old code is still catched in your browser? Shift+alt+r resets the cache for the site your on.

On 17.05.2011, at 14:16, [email protected] wrote:

worth to mention that the copy button on the codebox has never worked for me (before and even after your patch)
I recommend switching to Clippy

Reply to this email directly or view it on GitHub:
#17 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants