Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
javascript
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
24 Aug 2012 at 15:57 UTC
Updated:
29 Jul 2014 at 21:01 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
nod_selector in admin js are real bad.
wierd thins in menu.js
Comment #2
oxyc commentedJust as i patched this I noticed #1660952: Replace all jQuery.each() with filtered for loop, but as that issue is regarding $.each I decided to roll one with everything except for the loop change.
Comment #3
oxyc commentedComment #4
nod_nice :)
so first .on you could bind it to the #edit-menu and use event delegation selecting input.
use camelcase variables, no underscore
you don't have to scope the id selector
good work, thanks!
Comment #5
oxyc commentedThanks for the review, here's a modified version.
Comment #6
oxyc commentedI keep forgetting to tag as NR
Comment #8
oxyc commentedReroll
Comment #10
nod_should probably pull the new changes, patch doesn't apply either.
Comment #11
nod_Comment #12
oxyc commentedWhops,
Hope it goes better this time.
Comment #13
nod_There is another patch to replace the jQuery each with a filtered for loop, can you make the change in here already ?
(edit) apart from that it's good to go :)
Comment #14
oxyc commentedSure, are you fine with renaming index machineName? I had to log it myself to understand what it was therefore I think machineName is more readable, if not I'll reroll.
Comment #15
seutje commentedNaming changes like that, which only help readability, are more than welcome.
Looks good to go, this clears up a lot of weird stuff that was going on there.
Comment #16
catchLooks like great clean-up. Committed/pushed to 8.x.