Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
views_ui.module
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
4 Aug 2014 at 10:44 UTC
Updated:
28 Mar 2015 at 04:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
gauravkhambhala commentedI will create patch to remove above code.
Comment #2
gauravkhambhala commentedUploading patch here.
Comment #3
alexpott@gauravkhambhala in order to get the testbot to review the patch you need to set to needs review. But far important with this one is some sort of evidence that the throbber does not make the views ui jump since that is what the comment is saying that the removed CSS prevents.
Comment #4
gauravkhambhala commented@alexpott I didn't really see what has been fixed by removing css in add views page. Please check the this screencast https://www.youtube.com/watch?v=XlENTsYHR-U This has been captured after applying the patch above. Let me know if anything else to test.
Comment #5
longwaveThis looks good to me, the CSS is no longer required and there is no difference before or after.
There is suspiciously similar but uncommented code in views.module.css:
Comment #6
gauravkhambhala commented@longwave Any action required on the code that you mentioned in views.module.css?
Comment #7
alexpott#1989480: Progress Bar style update and #1280674: Submit button "floats" during ajax submission have removed all stylings on of progress-disabled class. Therefore I think we can completely remove it.
Comment #8
longwaveThis looks strange after the line in the middle is removed. Otherwise I think this is good to go.
Comment #9
alexpottOkay-dokey - in fact the create of the $throbber variable looks unnecessary.
Comment #10
nod_I could see how one would use the class for some custom styling but I'll let a themer say whether that class makes sense to keep or not (because using prop I'm pretty sure css like
[diabled]won't work).As far as JS is concern I'm ok with it. If the class is not needed, feel free to RTBC.
And thanks for the tag :)
Comment #11
longwaveI think both
[disabled]and:disabledare valid CSS selectors for elements with the disabled property, actually. We already use:disabledin Seven's buttons.theme.css.Comment #12
nitishchopra commented#9 patch applied succesfully and the instances of "progress-disabled class" are removed.
Comment #13
jOksanen commented#9 Applies and the functionality works perfectly. Marking as RTBC. Coding standards are followed.
Comment #15
webchickYay, less code! Good hunting. :)
Committed and pushed to 8.0.x. Thanks!