LayerStyles icon indicating copy to clipboard operation
LayerStyles copied to clipboard

ZeroClipboard URL is hardcoded into code

Open aziz opened this issue 14 years ago • 3 comments

    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. :(

aziz avatar May 16 '11 12:05 aziz

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!

mrflix avatar May 16 '11 16:05 mrflix

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

aziz avatar May 17 '11 12:05 aziz

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: https://github.com/mrflix/LayerStyles/issues/17#comment_1190053

mrflix avatar May 17 '11 12:05 mrflix