-
Notifications
You must be signed in to change notification settings - Fork 356
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
Call changeAuthTab from more miq_tab_header()s #706
Conversation
miq_tab_header() once did this automatically, that was disabled by 2b1da75 and explicit ng-click was added to some tab headers but not all, this adds some more.
Checked commit cben@9137125 with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0 app/views/layouts/angular/_multi_auth_credentials.html.haml
|
@himdel It looks like #68 broke some angular functionality for us in forms that have tabs.
Unfortunately, the PR was backported to darga and euwe, which means we are going to need a BZ here to undo the bug in #68 for darga and euwe. |
@cben I'm confused.. the change I'm seeing in this PR is exactly the same I did in #68 , isn't it? https://github.com/ManageIQ/manageiq-ui-classic/pull/68/files#diff-bb8a7a7ffa5ad1f77d61eb03b111e361R9 Possibly more to the point, I'm seeing that file with all those ng-click on current master. What am I missing? |
@AparnaKarve please don't undo anything, the change is exactly equivalent to before... But do tell me what's actually broken :). EDIT: (Except in a completely different file O:-)) |
Aaah.. there's two different files called Ok, sorry about that, in that case, forget everything I said :D |
Also @cben feel free to remove the other |
But yes, this will have to be |
True. |
Merged, removing the old one in #725 |
@cben I guess you'll need to find/create a BZ for this |
@simaishi BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1434064 |
Call changeAuthTab from more miq_tab_header()s miq_tab_header() once did this automatically, that was disabled by ManageIQ/manageiq-ui-classic@2b1da75 [backported to darga as commit e66e26a in ManageIQ#13471] and explicit ng-click was added to some tab headers but not all, this adds some more. https://bugzilla.redhat.com/show_bug.cgi?id=1434064 (master)
Euwe backport (to manageiq repo) details:
|
Backported to Darga via ManageIQ/manageiq#14410 |
https://bugzilla.redhat.com/show_bug.cgi?id=1434064 (master)
https://bugzilla.redhat.com/show_bug.cgi?id=1434096 (euwe)
miq_tab_header() once did this automatically.
That was disabled by 2b1da75 in #68 and explicit ng-click
was added to some tab headers but not all. This adds some more.
Should help some tabs in providers add/edit (e.g. containers Hawkular tab) and something dealing with hosts(?), not sure where that is but I see there is changeAuthTab function in host_form_controller.js so added it.
Alas, something still doesn't work and Hawkular tab [Verify] button is broken, there is probably something else going on...
@himdel @AparnaKarve Please review/test.