Products
Demo
Forum
Login
Register
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
May 24, 2012, 15:35:44
Advanced search »»
JoomlaTune Support Forum
JComments component
Bug-reports
Topic:
BUG: Javascript not setting error classes correctly
Pages: [
1
]
Go Down
Print
Author
Topic: BUG: Javascript not setting error classes correctly (Read 2228 times)
0 Members and 2 Guests are viewing this topic.
harikaram
Newbie
Karma: 3
Offline
Posts: 19
BUG: Javascript not setting error classes correctly
«
on:
March 08, 2011, 22:21:45 »
I think I've found a typo that is preventing the jcomments.js JcommentsForm.error()) method from setting the error class on invalid input elements.
Basically the method should only have 1 argument "n" instead of "m" and "n". I've also made it so the "error" class is added rather than assigned to prevent custom CSS classes from being overwritten.
Patch attached...
0001-Fix-issue-with-javascript-not-assigning-error-classe.patch
(1.48 KB - downloaded 104 times.)
Logged
smart
Administrator
Hero Member
Karma: 160
Offline
Gender:
Posts: 2559
Re: BUG: Javascript not setting error classes correctly
«
Reply #1 on:
April 19, 2011, 04:35:55 »
You're fully right! Thank you very much. I'll apply this patch to current development version.
Logged
If you use JComments, please post a rating and a review at the
Joomla! Extensions Directory
Pages: [
1
]
Go Up
Print
JoomlaTune Support Forum
JComments component
Bug-reports
Topic:
BUG: Javascript not setting error classes correctly
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Announcements
-----------------------------
=> Announcements
-----------------------------
JComments component
-----------------------------
=> General discussion
=> Suggestions, Wishlists & Feature Requests
=> Integration with third-party extensions
===> AlphaUserPoints
===> CommunityBuilder
===> K2 JComments
=> Translations
=> Bug-reports
-----------------------------
ProofReader component
-----------------------------
=> General discussion
=> Suggestions, Wishlists & Feature Requests
=> Translations
=> Bug-reports
-----------------------------
Other extensions
-----------------------------
=> Plugins
=> Modules
Loading...