preview actions doesn't work

Bug #1516447 reported by Aitzol Berasategi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
unity-js-scopes
Fix Committed
High
Alexandre Abreu

Bug Description

Javascript "preview actions" doesn't work. The action button doesn't redirect to the external link specified on the "uri". Also, doesn't work in the <a href="http://bazaar.launchpad.net/~webapps/unity-js-scopes/trunk/view/head:/examples/soundcloud/soundcloud.js" target="blank">soundcloud example</a>. I'm trying with the same code at the soundcloud example:

            var actions_widget = new scopes.lib.PreviewWidget("actionsId", "actions");
            actions_widget.add_attribute_value(
                "actions",
                {
                    "id": "open",
                    "label": "Open",
                    "uri": r.get("uri")
                }
            );
Everything else works fine.

Tags: js-scope

Related branches

Changed in unity-js-scopes:
assignee: nobody → Alexandre Abreu (abreu-alexandre)
importance: Undecided → High
Changed in unity-js-scopes:
status: New → In Progress
Revision history for this message
Alexandre Abreu (abreu-alexandre) wrote :

You need to explicitely call finished() at the end of the preview() call, as showed in the branch above

Revision history for this message
Aitzol Berasategi (aitzol76) wrote : Re: [Bug 1516447] Re: preview actions doesn't work

OOOh! I'm sorry! Thanks for your appreciation. I'm very grateful. Now it
works fine!

2015-11-19 22:18 GMT+01:00 Alexandre Abreu <email address hidden>:

> You need to explicitely call finished() at the end of the preview()
> call, as showed in the branch above
>
> ** Branch linked: lp:~abreu-alexandre/unity-js-scopes/fix-soundcloud-
> preview
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1516447
>
> Title:
> preview actions doesn't work
>
> Status in unity-js-scopes:
> In Progress
>
> Bug description:
> Javascript "preview actions" doesn't work. The action button doesn't
> redirect to the external link specified on the "uri". Also, doesn't
> work in the <a href="http://bazaar.launchpad.net/~webapps/unity-js-
> scopes/trunk/view/head:/examples/soundcloud/soundcloud.js"
> target="blank">soundcloud example</a>. I'm trying with the same code
> at the soundcloud example:
>
> var actions_widget = new
> scopes.lib.PreviewWidget("actionsId", "actions");
> actions_widget.add_attribute_value(
> "actions",
> {
> "id": "open",
> "label": "Open",
> "uri": r.get("uri")
> }
> );
> Everything else works fine.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/unity-js-scopes/+bug/1516447/+subscriptions
>

--
”Gailurra aukeretako bat besterik ez da; garrantzitsuena eta ezinbestekoa
bidea da.” Alberto Iñurrategi

Revision history for this message
Marcus Tomlinson (marcustomlinson) wrote :

Nothing to be sorry about Aitzol :) Thanks for pointing this issue out to us!

Changed in unity-js-scopes:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.