https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27321 --- Comment #8 from Lucas Gass <lucas@bywatersolutions.com> --- (In reply to Owen Leonard from comment #6)
Created attachment 115045 [details] [review] Bug 27321: (follow-up) Use class instead of style attribute.
This patch relplaces the inline style and uses a class name instead. SCSS is modified, so rebuild the staff client CSS before testing (https://wiki.koha-community.org/wiki/ Working_with_SCSS_in_the_OPAC_and_staff_client).
Owen, this is a much smarter way to do it than with the inline style I was using. However there is one problem. If I apply this and look at borrowerUnwantedField the disabled class is applied to 'branchcode' but it is also applied to every subsequent db column. I think in the else block we need tell it which class to have. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.