-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Access element through jQuery #4496
Conversation
the contents of element is a regular DOM node rather than a jQuery object, and as such the .prop method isn't available, causing "element.prop() is not a function" errors in the browser. The solution is to just access it through jQuery.
I see, no reason to have another one then. Although one could wonder why it's taking a month to accept a single line On Fri, May 13, 2016 at 4:59 PM, adragus-inviqa [email protected]
|
Yep, we're all wondering that. PS: Close this PR if you're ok with the other. |
I see two pull requests are competing here ) Issue with this one: "Contributor License Agreement is not signed yet." |
As has already been mentioned in this very thread, there are more than two The trouble is that two months for a single line code change to be approved On Thu, May 26, 2016 at 3:41 PM, Vitalii Korotun [email protected]
|
I need this change in my Project. Thanks in Advance |
Just as a suggestion... if there are iframes on the page that are not of the same origin... CORS kicks in and there will be an error saying it couldn't access the frame to cache it basically... to fix this, I would recommend fixing it by testing whether the iframe is of the same origin first before running the rest of the function:
this should be added right at the beginning of the check: |
@sikker tnx for the fix. I added it to my 2.1.0 installation. |
@jvreeken why not make a PR for this? so I can append .patch to it and fetch it :D I'm not used to making PRs to magento's structure yet.. don't know where I can find the module repo.. |
@OZZlE if you want a PR, try looking at this one: https://github.com/magento/magento2/pull/4022/files |
@PascalBrouwers it's not the same thing.. I added a PR myself now: #7914 |
When does this PR will be release in Magento 2.X version ? Still not here on 2.1.7 |
Hi @sikker Could you please follow the CLA Assistant link and sign it? Thank you for collaboration. |
[TSG-CSL3] For 2.3 (pr28)
The contents of element here is a regular DOM node rather than a jQuery object, and as such the .prop method isn't available, causing "element.prop() is not a function" errors in the browser. The solution is to just access it through jQuery.