Working on Compatibility for FVTT v10
modified some actor-id to uuid : dragndrop-actor-id -> dragndrop-actor-uuid open-sheet-actor-id -> open-sheet-from-uuid
This commit is contained in:
@@ -20,9 +20,9 @@
|
||||
<tbody>
|
||||
{{#each data.actors as |actor|}}
|
||||
<tr>
|
||||
<td><img data-actor-id="{{actor.id}}" draggable="true" class="profile actor-profile dragndrop-actor-id pointer" title="{{actor.name}}" src="{{actor.img}}"></td>
|
||||
<td><img data-actor-uuid="{{actor.uuid}}" draggable="true" class="profile actor-profile dragndrop-actor-uuid pointer" title="{{actor.name}}" src="{{actor.img}}"></td>
|
||||
<td>
|
||||
<a data-actor-id="{{actor.id}}" class="open-sheet-actor-id">{{actor.name}}</a>
|
||||
<a data-uuid="{{actor.uuid}}" class="open-sheet-from-uuid">{{actor.name}}</a>
|
||||
{{#if actor.system.attitude}}<p>({{actor.system.attitude}})</p>{{/if}}
|
||||
</td>
|
||||
<td>
|
||||
@@ -99,11 +99,11 @@
|
||||
<tbody>
|
||||
{{#each data.actors as |actor|}}
|
||||
<tr>
|
||||
<td><img data-actor-id="{{actor.id}}" draggable="true" class="profile actor-profile dragndrop-actor-id pointer" title="{{actor.name}}" src="{{actor.img}}"></td>
|
||||
<td><a data-actor-id="{{actor.id}}" class="open-sheet-actor-id">{{actor.name}}</a></td>
|
||||
<td><img data-actor-uuid="{{actor.uuid}}" draggable="true" class="profile actor-profile dragndrop-actor-uuid pointer" title="{{actor.name}}" src="{{actor.img}}"></td>
|
||||
<td><a data-uuid="{{actor.uuid}}" class="open-sheet-from-uuid">{{actor.name}}</a></td>
|
||||
<td>
|
||||
{{#if actor.system.warlord_actor_id}}
|
||||
<a data-actor-id="{{actor.system.warlord_actor_id}}" class="open-sheet-actor-id">{{actor.system.warlord}}</a>
|
||||
<a data-actor-id="{{actor.system.warlord_actor_id}}" class="open-sheet-from-uuid">{{actor.system.warlord}}</a>
|
||||
{{else}}
|
||||
{{actor.system.warlord}}
|
||||
{{/if}}
|
||||
@@ -122,7 +122,7 @@
|
||||
</td>
|
||||
<td>
|
||||
{{#if actor.system.commander_actor_id}}
|
||||
<a data-actor-id="{{actor.system.commander_actor_id}}" class="open-sheet-actor-id">{{actor.system.commander}}</a>
|
||||
<a data-actor-id="{{actor.system.commander_actor_id}}" class="open-sheet-from-uuid">{{actor.system.commander}}</a>
|
||||
{{else}}
|
||||
{{actor.system.commander}}
|
||||
{{/if}}
|
||||
|
||||
Reference in New Issue
Block a user