diff options
author | friendica <info@friendica.com> | 2012-08-16 00:51:03 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-08-16 00:51:03 -0700 |
commit | eb911443aaee63f414cd95de4dabf60e2f14a994 (patch) | |
tree | 7c8eb42e2602b572f430474648aec611f0c20c47 /js/main.js | |
parent | 5b547ae991624924c0ef11dbe36ae57f5ec2182b (diff) | |
download | volse-hubzilla-eb911443aaee63f414cd95de4dabf60e2f14a994.tar.gz volse-hubzilla-eb911443aaee63f414cd95de4dabf60e2f14a994.tar.bz2 volse-hubzilla-eb911443aaee63f414cd95de4dabf60e2f14a994.zip |
more zregister cleanup and theme separation
Diffstat (limited to 'js/main.js')
-rw-r--r-- | js/main.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/js/main.js b/js/main.js index b1ebd80e0..e33f21940 100644 --- a/js/main.js +++ b/js/main.js @@ -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"); + } + } + |