Merge pull request #4384 from oliverguenther/fix/disabled-fields

Inline edit: Fix display of disabled fields.
pull/4387/head
ulferts 9 years ago
commit 939a95aaa7
  1. 2
      app/assets/stylesheets/content/_work_packages_table_edit.sass
  2. 2
      frontend/app/components/wp-edit/wp-edit-field/wp-edit-field.directive.ts

@ -66,7 +66,6 @@
// Editable fields cursor
.-editable .wp-table--cell-span
padding: 0 5px 0 5px
cursor: text
border-color: transparent
border-style: solid
@ -85,6 +84,7 @@
// Default cursor on non-editable and id fields
.wp-table--cell-span
padding: 0 5px 0 5px
cursor: not-allowed
&.id

@ -116,7 +116,7 @@ export class WorkPackageEditFieldController {
public set editable(enabled:boolean) {
this._editable = enabled;
this.$element.toggleClass('-editable', enabled);
this.$element.toggleClass('-editable', !!enabled);
}
public shouldFocus() {

Loading…
Cancel
Save