more zregister cleanup and theme separation

This commit is contained in:
friendica
2012-08-16 00:51:03 -07:00
parent 5b547ae991
commit eb911443aa
6 changed files with 74 additions and 50 deletions

View File

@@ -851,3 +851,14 @@ $("abbr.wall-item-ago-time").timeago();
});
function zFormError(elm,x) {
if(x) {
$(elm).addClass("zform-error");
$(elm).removeClass("zform-ok");
}
else {
$(elm).addClass("zform-ok");
$(elm).removeClass("zform-error");
}
}