Javascript bugfix + translations.

This commit is contained in:
tonio
2010-06-10 18:00:38 +02:00
parent ace8448efe
commit 3586b1dc0f
3 changed files with 10 additions and 8 deletions
+3 -3
View File
@@ -32,7 +32,7 @@ check_anchor = function() {
} else {
query = current_anchor.serialized.substring(1);
}
infobox.show("Loading...", "gray");
infobox.show(gettext("Loading..."), "gray");
new Request.JSON({url: query, onSuccess: function(resp) {
callback = ($defined(resp.callback)) ? resp.callback : "default";
callbacks[callback](resp);
@@ -195,7 +195,7 @@ parse_menubar = function(id) {
}
});
});
SqueezeBox.assign($$('a.boxed'), {
SqueezeBox.assign($(id).getElements('a[class=boxed]'), {
parse: 'rel',
});
}
@@ -310,7 +310,7 @@ searchbox_init = function() {
$("searchfield").addEvent("blur", function(event) {
if ($("searchfield").value == "") {
$("searchfield").set("value", "Search...");
$("searchfield").set("value", gettext("Search..."));
}
});
$("searchbox").setStyle("float", "left");