Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewtelnov committed Sep 14, 2020
2 parents eb43fbd + f767473 commit e4bee0f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/adorners/title-editor.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<input data-svd-info="adorner"
data-bind="textInput: editingName, event: { keyup: nameEditorKeypress, keydown: nameEditorKeydown, blur: postEdit }, attr: { maxLength: maxLength, 'aria-label': name, 'title': error, 'placeholder': error }, css: { 'svda-title-editor-error': error }, style: { 'min-width': error() ? '150px' : '' }"
style="border-top: none; border-left: none; border-right: none; outline: none; background-color: transparent; display: inline-block;" />
<span class="svda-edit-button" data-bind="click: postEdit, enable: editingName() != ''">
<span role="button" class="svda-edit-button" data-bind="click: postEdit, enable: editingName() != ''">
<svg-icon class="svd-primary-icon" params="iconName: 'icon-inplacecheck', size: 12"></svg-icon>
</span>
<!-- <span class="svda-edit-button" data-bind="click: cancelEdit">✕</span> -->
Expand All @@ -13,7 +13,7 @@
<span class="svda-title-editor-content svda-title-editor-start" data-bind="visible: !isEditing()">
<span class="svda-title-editor-placeholder" tabindex="0"
data-bind="click: startEdit, text: placeholder, visible: !editingName() && placeholder, key2click, attr: { 'aria-label': name, role: 'textbox', 'aria-readonly': 'false' }"></span>
<span class="svda-title-editor-start-button edit-survey-name"
<span role="button" class="svda-title-editor-start-button edit-survey-name"
data-bind="click: startEdit, attr: { title: getLocString('pe.edit') }">
<svg-icon class="svd-primary-icon" params="iconName: 'icon-inplaceedit', size: 12"></svg-icon>
</span>
Expand Down
4 changes: 2 additions & 2 deletions src/tabs/logic.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<tbody data-bind="foreach: $data.koItems">
<tr class="svd-logic-tab__rules-list__row">
<td data-bind="visible:!$parent.koReadOnly()" class="svd-logic-tab__rules-list__action-cell">
<span data-bind="click: $data.edit, attr: { title: $data.editText, tabindex: 0 }, key2click">
<span role="button" data-bind="click: $data.edit, attr: { title: $data.editText, tabindex: 0 }, key2click">
<svg-icon class="svd-primary-icon icon-actioneditelement" params="iconName: 'icon-actioneditelement'">
</svg-icon>
</span>
Expand All @@ -31,7 +31,7 @@
</div>
</td>
<td data-bind="visible:!$parent.koReadOnly()" class="svd-logic-tab__rules-list__action-cell">
<span data-bind="click: $data.remove, attr: { title: $data.deleteText, tabindex: 0 }, key2click">
<span role="button" data-bind="click: $data.remove, attr: { title: $data.deleteText, tabindex: 0 }, key2click">
<svg-icon class="svd-danger-icon icon-actiondelete" params="iconName: 'icon-actiondelete'"></svg-icon>
</span>
</td>
Expand Down

0 comments on commit e4bee0f

Please sign in to comment.