Closed (outdated)
Project:
Compact Forms
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Sep 2010 at 00:00 UTC
Updated:
6 Mar 2023 at 13:49 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
sunThanks!
2 minor style issues:
- Missing period.
- Only variables containing jQuery objects should have a leading $
We want to document the actual browser quirk here
Powered by Dreditor.
Comment #2
mstrelan commentedGreat, I had never realised why variables had $ signs in this file. Re-roll attached
Comment #3
sunThanks for reporting, reviewing, and testing! Committed attached patch to all branches.
A new development snapshot will be available within the next 12 hours. This improvement will be available in the next official release.
Comment #5
aristeides commentedI know this is marked as "fixed", but I'm having this issue with the latest dev version of this on D6...
actually not only on firefox abut all browsers.
On the password field when a user clicks to enter his/her password, the "password" title fades out instantly and then reappears...
Comment #6
klonosYep, been getting it too in latest 7.x-dev in firefox (haven't tested yet other browsers, but I will and then report back).
Comment #7
mstrelan commentedThis is fixed for me in FF6, but still present in Chrome 14.
Comment #8
klonosI also confirm this is fixed in latest fx 8.0a1 x64 (it must have been something committed in the August 15th build or the one before it I guess).
Still there in IE9 (both x86 & x64) - at least on Win7 x64.
Comment #9
mstrelan commentedThis part doesn't really make sense. Essentially it says "if the value of the field is empty, or the value is at its original state, hide the label". Wouldn't it make more sense to say "if the label is visible, hide the label".
New code
This doesn't solve the problem of one field (eg username) triggering a value in another field (eg password), and the user not focussing immediately on the field whose value was updated (eg password). This is another issue - #903140: Provide workaround for Firefox not triggering the onchange event when prefill occurs
Comment #10
kvoltz commentedIm still seeing this in the latest 7.x version. has anyone had any luck here?
Comment #11
jamesdixon commentedFor those of you with this issue in Chrome, you can add a fix into compact_forms.js:
Comment #12
finex commentedThe fix suggested by @jamesdixon works fine on Chrome. Would be possible to commit the patch?
Comment #13
millionleaves commentedComing late to this discussion.
I have used Compact Forms on a number of sites with no issues. On my latest site, however, I am using another module that injects JS into the page (Backstretch). This module breaks with the latest -dev version of Compact Forms when using Chrome.
Looking at the code, it appears that this patch is included, and the Safari check in the code is what's breaking Backstretch. Commenting the following lines in compact_forms.js fixes the issue:
Reading around the subject suggests that $.browser is deprecated.
Comment #14
avpadernoI am closing this issue, since it is for a Drupal version that now is not supported.
Please re-open it if the issue is also relevant for other project branches that require a supported Drupal version.