-
Notifications
You must be signed in to change notification settings - Fork 898
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
Toolbar buttons 3 #6078
Toolbar buttons 3 #6078
Conversation
77947e9
to
4a94235
Compare
7cf7c32
to
1d57b77
Compare
@himdel : care to review, please? |
1d57b77
to
0418bc4
Compare
@martinpovolny will do.. but unless it's urgent, will do tomorrow, feeling a bit under the weather today.. |
@himdel : not urgent. Monday is a nice day for the review ;-) Thx! |
@@ -116,7 +116,7 @@ def apply_common_props(button, input) | |||
button[:window_url] = "/#{request.parameters["controller"]}#{input[:url]}" | |||
end | |||
|
|||
dis_title = build_toolbar_disable_button(button['id']) | |||
dis_title = build_toolbar_disable_button(button['child_id'] || button['id']) |
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 the fix for the issue in #5884?
EDIT: yes
Apart from the possible issue in |
0418bc4
to
3915fed
Compare
@himdel : fixes, thx for the review! |
Checked commits martinpovolny/manageiq@06ae65f~...3915fed with ruby 2.2.3, rubocop 0.34.2, and haml-lint 0.13.0 spec/helpers/application_helper/buttons/history_choice_spec.rb
spec/helpers/application_helper/buttons/history_item_spec.rb
spec/spec_helper.rb
|
@martinpovolny Prefer that author of a PR is not the same as merger of a PR. Next time, please ping @Fryguy, @matthewd or me. |
@chessbyte : also should have @himdel explicitly confirm here, that all was checked once again to make it clear that all was checked. He confirmed F2F. |
Extract class for view buttons and move code to history item button.