Made this preview based command for news from "volvo ocean race"
When I move the mouse over "read full story" I see there is a link,
but it when you press it it doesn work (you get this url
file:///news/article/2009/March/30-RIO-PUMA-JOB-LIST/index.aspx)
Any idea how this may be fixed. I have the same problem in all my
preview-commands

/* volvooceanrace-news */

CmdUtils.CreateCommand({
    name: "volvo-news",
    preview: function (pblock, keyword) {
        var msg, url;
        msg = 'First thumbnail from wists';
        url = "http://www.volvooceanrace.org/";;
        if (url) {
            jQuery.get(url, function (text) {
                var tableResult;
                tableResult = jQuery(".hometeaser",text).get();
                pblock.innerHTML = "";
                pblock.appendChild(tableResult[0]);
            });
        }
        pblock.innerHTML = msg;
    },

    execute: function (from, mods) {
        var url = "http://www.volvooceanrace.org/";;
        Utils.openUrlInBrowser(url.toString());
    }
});
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"ubiquity-firefox" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/ubiquity-firefox?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to