Use jquery data() instead of element attributes

This commit is contained in:
Pierre-Olivier Latour
2014-04-14 18:28:22 -03:00
parent dafcb0d895
commit b949187770
2 changed files with 11 additions and 11 deletions
@@ -138,7 +138,7 @@
</div>
<script type="text/x-tmpl" id="template-listing">
<tr class="row-file" data-path="{%=o.path%}" data-name="{%=o.name%}">
<tr class="row-file">
<td class="column-icon">
{% if (o.size != null) { %}
<button type="button" class="btn btn-default btn-xs button-download">