fix #223 plus some refactorings

This commit is contained in:
azivner
2018-11-14 00:05:09 +01:00
parent 25e68762fe
commit 295800881b
2 changed files with 13 additions and 8 deletions

View File

@@ -204,7 +204,7 @@ async function createPromotedAttributeRow(definitionAttr, valueAttr) {
promotedAttributeChanged(event);
});
$input.prop("data-selected-path", valueAttr.value);
$input.setSelectedPath(valueAttr.value);
// ideally we'd use link instead of button which would allow tooltip preview, but
// we can't guarantee updating the link in the a element