-
Notifications
You must be signed in to change notification settings - Fork 358
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[MORPHY] Fix Contrast issue No Use Of Eval #9176
Conversation
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.
Shouldn't this be: miqOpsAfterOnload()
? I am hitting a console error: Uncaught ReferenceError: miqReportAfterOnload is not defined.
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.
@jeffibm I think the code didn't change from @GilbertCherrie 's last comment here so does it still apply?
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.
Before it was: miqReportAfterOnload so it looks good now. New code is using the same function as the old code now.
765bdd5
to
8f6baff
Compare
Checked commit jeffbonson@8f6baff with ruby 2.7.8, rubocop 1.56.3, haml-lint 0.51.0, and yamllint app/views/automation_manager/_inventory_group.html.haml
app/views/catalog/explorer.html.haml
app/views/layouts/_performance_async.html.haml
app/views/layouts/_tl_show_async.html.haml
app/views/ops/_diagnostics_utilization_tab.html.haml
app/views/ops/explorer.html.haml
app/views/report/explorer.html.haml
app/views/storage/_storage_list.html.haml
app/views/utilization/index.html.haml
app/views/vm_infra/explorer.html.haml
app/views/vm_or_template/explorer.html.haml
|
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.
Before it was: miqReportAfterOnload so it looks good now. New code is using the same function as the old code now.
Removing the usage of eval function inside afterOnLoad function.