-
Notifications
You must be signed in to change notification settings - Fork 899
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
Jquery enable disable checked calls conversion #1353
Jquery enable disable checked calls conversion #1353
Conversation
@@ -319,8 +319,8 @@ function toggleConvertButtonToLink(button, url, toggle) { | |||
// parms: button_div=<id of div with buttons to update>, override=<forced state> | |||
function miqUpdateAllCheckboxes(button_div,override) { | |||
miqSparkle(true); | |||
if ($('masterToggle')) { | |||
var state = $('masterToggle').checked; | |||
if ($j('#masterToggle')) { |
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.
@h-kataria The jQuery
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.
@dclarizio you are right i will have to fix that, i can check $j('#masterToggle').length > 0 to make sure element id exists in DOM.
@h-kataria While testing the retirement button, I hit two issues:
|
@dclarizio issues found in retirement screen are related to HAML conversion of retire view, @AparnaKarve was planning to ping @skateman about that. |
- replace calls to checked - split 'javascript_disable_field' method into 2 methods: javascript_disable_field & javascript_enable_field for more clarity. ManageIQ#1148
8936711
to
64d91da
Compare
Checked commits h-kataria@3f2e81f .. h-kataria@64d91da with rubocop 0.27.1 |
@dclarizio please re-review. |
@h-kataria I see the new JS functions, if we are not fixing the bugs I mentioned, can we get an issue opened to address them? Thx, Dan |
@dclarizio created #1384, assigned it to @skateman |
…_calls_conversion Jquery enable disable checked calls conversion
…_for_miq_template [FINE] Add missing ownership route for miq template (cherry picked from commit ef6694d) https://bugzilla.redhat.com/show_bug.cgi?id=1448073
@martinpovolny @dclarizio please review.
Creating a new PR as i am unable to push my changes on to @bmclaughlin 's branch, closing original PR #1319