-
Notifications
You must be signed in to change notification settings - Fork 18
[WIP] Clean up JavaScript scripts #45
Conversation
Resources/public/js/admin_tree.js
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this are all options. null
should get replaced with their default value.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this a note to yourself? if these where previously undefined when not configured, we might simply validate and throw better errors. for some, there are sensible defaults for sure, but the ajax section for example does not have any sensible defaults.
@wouterj do you have time before lunch to fix this up? |
@lsmith77 no, sorry. I'm pretty bussy the last week. I think it's safe to merge this PR if it's really needed, AFAICS nothing of the logic is changed. |
as far as i can tell, its cleanup and no important fixes. so i'd prefer to not merge and wait until it really is clean. adding the initializing with |
@wouterj is there a part of this that we can merge this weekend? i am still worried by the |
I've reverted the defaults and updated the CS for the select_tree. Let's merge this now (if it's ok) and after that, I'll try to submit a fix for the bugs this weekend |
i am +1 to merge this in. did you test it in the sandbox and things still work? /cc @lsmith77 |
no, didn't test it (only linted it). I'll do it this afternoon on the sandbox. |
tested it and I can't find any problems |
[WIP] Clean up JavaScript scripts
Fixed BC break introduced in #45
Todo
admintree.js
selecttree.js
admintree.js
selecttree.js