It is. I'm sorry, I'm not use to watching the bottom right corner for
error messages. I keep getting this error:
missing } after property list.
CmdUtils.makeSearchCommand({
name: "AESearch",
author: {name: "Cooper Click", email: "[email protected]"},
description: "Looks up in Anime-Eden",
url:"http://www.anime-eden.com/anime/search.htm?kw="{QUERY}",
preview: function( pblock, thing ) {
if (thing.text < 1) {
pblock.innerHTML = "Search <b>Anime-Eden Anime</b>";
}
else {
jQuery.get(this.url.replace("{QUERY}", thing.text), function
(doc) {
var result = jQuery("div#widemain > div.general >
table.listing.clear", doc).eq(0);
result.find("a").each(function correctPaths() {
jQuery(this).attr("href", "http://www.anime-eden.com
"+jQuery(this).attr("href"));
});
pblock.innerHTML = "<table>"+result.html()+"</table>";
});
}
}
});
This is the code I got from Chrstian (Thanks). I might have copied it
wrong, but I don't see anywhere with unmatched { and }. The only place
I can think is here:
jQuery.get(this.url.replace("{QUERY}", thing.text), function (doc) {
Which looks like it's missing a ) or something.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---