fixed entwine for usage with jquery 1.12.x and 2.2.x#33
fixed entwine for usage with jquery 1.12.x and 2.2.x#33andrelohmann wants to merge 5 commits intohafriedlander:masterfrom
Conversation
|
Thanks @andrelohmann, Your patch seems to revolve around the Your change means that focusInBubbles will be set to false on MSIE + jQuery >= 1.9, whereas it is supposed to be set to true. Have you tested what impact this has? Also, can you please update the PR to amend the sources and use the standard package process to re-build the dist files (which is just calling build.sh). |
|
Not really sure what that patch does? This line also covers the What were the errors you had? I think you should check for |
|
on the current chrome and Firefox, the line "!!( |
|
@andrelohmann Yeah, I just updated my comment above. |
|
Alright, I took over @bummzack 's suggestion and it worked perfectly |
|
There are still changes in dist files that aren't covered in src files. You should never edit a dist file by hand, they should only be modified by running build.sh. The change itself seems reasonable, although I don't have confidence that this will make Entwine fully functional with newer versions of jQuery. |
|
@hafriedlander are you open to adding some other committers to this project? It would be good to add a travis config. |
|
I'm not sure how this was tested, but I don't think the added code works as expected? Currently it's: But that's twice checking for a property of |
|
I know this is an old issue but maybe someday it will be fixed for those using entwine and want a modern jquery As far as I understand, focusin bubbles in modern browsers as per specs Therefore, this should be enough Is there a reason not to update entwine to support modern jquery? I had to use my own customized version of entwine in multiple modules and that feels like a waste. It could be just merged into the core because we are going to need jquery in SilverStripe as long as bootstrap 4 is used. |
|
Yeah we may want to fork this repo back to the Silverstripe org, with a view to maintaining it at least for the CMS4 lifespan. |
Hi Hamisch, I had some errors regarding your $.browser.msie fix on jquery 1.12.x and 2.2.x so I fixed it.
Can you please review and merge my pull request, to have that fix to be part of the next silverstripe security release?
kind regards