set things up for the link's data-activator to work, but it doesn't work yet since I don't know what to put in the data-activator field
This commit is contained in:
parent
a9462d0f0e
commit
d1e1125c80
1 changed files with 9 additions and 9 deletions
|
@ -568,17 +568,16 @@ function onCreateLabelHandler(domElement, node) {
|
||||||
data-type="textarea">$_desc_$</span> \
|
data-type="textarea">$_desc_$</span> \
|
||||||
</div> \
|
</div> \
|
||||||
</div> \
|
</div> \
|
||||||
<span class="best_in_place" \
|
|
||||||
id="best_in_place_link" \
|
|
||||||
data-url="/topics/$_id_$" \
|
|
||||||
data-object="topic" \
|
|
||||||
data-attribute="link" \
|
|
||||||
data-type="input">$_link_$</span> \
|
|
||||||
<a href="$_link_$" class="link" target="_blank"> \
|
<a href="$_link_$" class="link" target="_blank"> \
|
||||||
<img class="topic-go-arrow link" \
|
<span class="best_in_place" \
|
||||||
title="Visit $_link_$" \
|
id="best_in_place_link" \
|
||||||
src="/assets/go-arrow.png" /> \
|
data-url="/topics/$_id_$" \
|
||||||
|
data-object="topic" \
|
||||||
|
data-attribute="link" \
|
||||||
|
data-activator=".topic_$_id_$ .edit-link" \
|
||||||
|
data-type="input">$_link_$</span> \
|
||||||
</a> \
|
</a> \
|
||||||
|
<span class="edit-link">(Edit)</span> \
|
||||||
</div>';
|
</div>';
|
||||||
|
|
||||||
//create metacode_choices array from imgArray
|
//create metacode_choices array from imgArray
|
||||||
|
@ -671,4 +670,5 @@ function onCreateLabelHandler(domElement, node) {
|
||||||
node.setData("metacode", metacode);
|
node.setData("metacode", metacode);
|
||||||
Mconsole.plot();
|
Mconsole.plot();
|
||||||
});
|
});
|
||||||
|
|
||||||
}//onCreateLabelHandler
|
}//onCreateLabelHandler
|
||||||
|
|
Loading…
Reference in a new issue