#1810386: Create workflow to setup multilingual for entity types, bundles and fields added the translation entity interface, it's js isn't following newer core standards for it.
Declared and attached the JS with hook_library_info()
, used event delegation on the admin screen so that it'll somehow scale for real sites. It's still not good enough though.
The table UI is bad from a code perspective, it shouldn't be using tables or at least it needs classes to be added on cells to make all those selectors much faster to match. Not really in the scope of this issue i'd say.
Comment | File | Size | Author |
---|---|---|---|
core-js-te.patch | 4.38 KB | nod_ | |
Comments
Comment #1
nod_Comment #2
Wim LeersAll of this is functionally identical, with better performance thanks to delegation instead of binding.
Note: I didn't test this manually, but I'm assuming nod_ did since he wrote it.
Comment #3
nod_I did test it :)
Comment #4
Wim LeersComment #5
Gábor HojtsyAdd sprint tag and D8MI for easier tracking.
Comment #6
Wim LeersLOL, in #4 I added the "JavaScript" tag, but now that change is no longer being rendered. WTF, d.o!?
Comment #7
webchickCommitted and pushed to 8.x. Thanks!
Comment #8
Gábor HojtsySuperb, thanks!