Return-Path: X-Original-To: apmail-brooklyn-dev-archive@minotaur.apache.org Delivered-To: apmail-brooklyn-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1047A10D60 for ; Mon, 8 Dec 2014 11:10:41 +0000 (UTC) Received: (qmail 33134 invoked by uid 500); 8 Dec 2014 11:10:41 -0000 Delivered-To: apmail-brooklyn-dev-archive@brooklyn.apache.org Received: (qmail 33101 invoked by uid 500); 8 Dec 2014 11:10:41 -0000 Mailing-List: contact dev-help@brooklyn.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@brooklyn.incubator.apache.org Delivered-To: mailing list dev@brooklyn.incubator.apache.org Received: (qmail 33090 invoked by uid 99); 8 Dec 2014 11:10:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Dec 2014 11:10:40 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 08 Dec 2014 11:10:39 +0000 Received: (qmail 32368 invoked by uid 99); 8 Dec 2014 11:10:19 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Dec 2014 11:10:19 +0000 Received: from mail-wg0-f50.google.com (mail-wg0-f50.google.com [74.125.82.50]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id D34891A00D1 for ; Mon, 8 Dec 2014 11:10:18 +0000 (UTC) Received: by mail-wg0-f50.google.com with SMTP id k14so5880742wgh.37 for ; Mon, 08 Dec 2014 03:10:16 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.180.73.101 with SMTP id k5mr22836150wiv.43.1418037016863; Mon, 08 Dec 2014 03:10:16 -0800 (PST) Received: by 10.194.106.97 with HTTP; Mon, 8 Dec 2014 03:10:16 -0800 (PST) In-Reply-To: <004901d00e1e$519c9b50$f4d5d1f0$@cloudsoftcorp.com> References: <001d01d00d89$bc2a6500$347f2f00$@cloudsoftcorp.com> <004901d00e1e$519c9b50$f4d5d1f0$@cloudsoftcorp.com> Date: Mon, 8 Dec 2014 11:10:16 +0000 Message-ID: Subject: Re: Help required - ZeroClipboard in jsgui From: Richard Downer To: Brooklyn dev Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Svet, No luck for me - using this branch, copy&paste is broken in Chrome, Firefox and Safari (all on Mac) All, Could somebody else try to reproduce from Svet's branch? Thanks Richard. On 2 December 2014 at 10:54, Svetoslav Neykov wrote: > Hi Richard, > I made another try at using the hosted version, this time it's working wi= thout any issues. Probably was using the wrong version last time. > > Could you try the changes at https://github.com/apache/incubator-brooklyn= /pull/371. Works fine for me, with the exception of browsers with disabled = flash (where it silently fails). > > Svet. > > -----Original Message----- > From: Richard Downer [mailto:richard@apache.org] > Sent: Monday, December 1, 2014 7:21 PM > To: Brooklyn dev > Subject: Re: Help required - ZeroClipboard in jsgui > > Thanks Svet. One thing to note is that I kept using the same version of Z= eroClipboard - 1.3.1 - even though there are much newer versions available.= Maybe a newer version will help? I did try the latest version but it did n= ot work, but as you may have seen from some of my earlier messages I was ge= tting very confused about what was being built at one stage, so maybe the m= istake was on my side. > > Another alternative is to not keep ZeroClipboard.js either, and load both= .js and .swf from the CDN. I'm not sufficiently familiar with require.js t= o be able to make this change myself... > > Richard. > > > On 1 December 2014 at 17:10, Svetoslav Neykov wrote: >> Hi Richard, >> Tried using the remote URL and although I don't get JS errors the copy f= unctionality stops working. The reason is cross-domain security restriction= s applied by flash. According to the ZeroClipboard docs the code should aut= o-detect and deal with this but apparently it's not happening. I'll see if = this can be fixed. >> >> Svet. >> >> -----Original Message----- >> From: Richard Downer [mailto:richard@apache.org] >> Sent: Monday, December 1, 2014 3:02 PM >> To: Brooklyn dev >> Subject: Help required - ZeroClipboard in jsgui >> >> Hello all, >> >> I've been trying to remove the ZeroClipboard.swf file from the jsgui pro= ject. My intention is to replace it with a CDN-hosted version, such as http= ://cdnjs.com/libraries/zeroclipboard. >> >> However my attempts have all ended in failure. I replace the references = to ZeroClipboard.swf with the CDN-based URL, and copy-to-clipboard stops wo= rking. The Javascript console is showing a failure inside ZeroClipboard.js = which I cannot explain. >> >> I'm not a Javascript expert so I don't really know how to debug this. >> Could I hand it over to one of the jsgui experts? >> >> Thanks >> >> Richard. >> >