Tickets #8 and #22.

Not finished yet...
This commit is contained in:
tonio
2010-05-07 18:45:50 +02:00
parent 7ad7c1f48e
commit b33fdb45d9
11 changed files with 81 additions and 23 deletions
+7 -1
View File
@@ -35,6 +35,9 @@ window.addEvent("domready", function() {
chpassword_submit = function(event) {
generic_submit(this, event, "chpwdform", chpassword_submit);
}
arm_submit = function(event) {
generic_submit(this, event, "armform", arm_submit);
}
if ($("domform"))
$("domform").addEvent("submit", domain_submit);
@@ -51,9 +54,12 @@ window.addEvent("domready", function() {
if ($("chpwdform"))
$("chpwdform").addEvent("submit", chpassword_submit);
if ($("armform"))
$("armform").addEvent("submit", arm_submit);
$$("input[type!=submit]", "select").each(function(elt) {
elt.store("tip:title", gettext("Help"));
if ($(elt.name + "_helptext")) {
elt.store("tip:title", gettext("Help"));
elt.store("tip:text", $(elt.name + "_helptext").get("html"));
}
});