Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
javascript
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
14 Apr 2015 at 12:54 UTC
Updated:
9 Jun 2015 at 10:54 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
wadmiraal commentedChecking it out.
Comment #2
wadmiraal commentedComment #3
wadmiraal commentedThe problem is the scoping of the
ivariable on line 210 incolor.js. In Drupal 7, this variable is correctly scoped, although it does bear the same name as a "global" variable (not really; bound to theattach()scope).It would probably be nicer to rename this variable to something different to avoid confusion (
k?jis taken), but this will conflict with the patch in #2470069: Refactor color module CSS inline with our CSS standards.Patching using the same variable name for now, but I suggest we give it a different name.
Comment #4
wadmiraal commentedComment #5
idebr commentedComment #6
droplet commentedthe bug was introduced in #2389515: Update ESLint rules. I couldn't see any reason to make it global. Patch looks fine.
Comment #8
droplet commentedComment #9
manjit.singhCapture some before and after screenshots.. UI looks good to me.
I have checked functionality also.. No regression issue in functionality. Worked as previous.
Comment #10
nod_Le sight.
Patch fixes the issue. Ideally we'd rename that but a one liner is good too.
Comment #11
alexpottManually tested and it works - nice. Committed 24c73b4 and pushed to 8.0.x. Thanks!