Needs work
Project:
Drupal core
Version:
main
Component:
javascript
Priority:
Minor
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
24 Aug 2012 at 15:34 UTC
Updated:
30 Nov 2021 at 19:19 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
nod_Arg tabledrag-y code :/
don't use the second parameter of once
the .each() should be named functions
use .on
reduce the function nesting.
Comment #2
nod_tag
Comment #3
manuel garcia commentedComment #4
pguillard commentedA first patch.
I made a turn on the field interface, it seems that nothing is broken...
Comment #5
pguillard commentedComment #7
pguillard commentedPatch rerolled
Comment #10
droplet commentedThanks @pascalduez and @pguillard !!
However, since jQuery.Once 2.x, I think we don't need this refactoring
Comment #11
andriyun commentedPatch #7 is ok for me.
Thank you @pguillard
+1 to RTBC
Comment #12
andriyun commentedComment #13
andriyun commentedComment #14
andriyun commentedbot trigger
Comment #15
andriyun commentedComment #16
andypostthis needs manual test while there's no js testing
Comment #21
kwoxer commentedNeeds a re-roll since there has been changed lot's of things in that file.
Comment #22
andypostComment #23
droplet commentedSince we have no confidence to commit a patch without testing. I postponed this until we have a better JS testing engine: #2869825: Leverage JS for JS testing (using nightwatch).
Comment #26
gaëlgThe dependency is now fixed, so I guess this needs work again.
Comment #27
kostyashupenkoComment #30
andypostComment #31
srilakshmier commentedRerolled the patch for 9.4.x. Please review.
Thank you
Comment #32
andypostComment #33
karishmaamin commentedComment #34
karishmaamin commentedinterdiff #31 and #33
Comment #35
damienmckennaFYI you are not supposed to modify the JS files directly, you are supposed to modify the .es6.js files and then compile them; see https://www.drupal.org/node/2815083 for details.
Removing the "needs reroll" tag as it is not relevant anymore.