X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/b5a1f98a2118706355925314bfe3027ba45464e8..b2f1929ee729de25d516b0f9cdb49f265ce2d848:/modules/nodeBreadCrumbs/template.html diff --git a/modules/nodeBreadCrumbs/template.html b/modules/nodeBreadCrumbs/template.html index 1662fcf..6c46613 100644 --- a/modules/nodeBreadCrumbs/template.html +++ b/modules/nodeBreadCrumbs/template.html @@ -2,9 +2,9 @@ <ul class="breadcrumb"> <% if(node && parents) { %> <% for(var i = parents.length - 1; i >= 0; i--) { %> - <li><a href="#" data-id="<%= parents[i].getAttribute('id') %>"> <%= parents[i].getAttribute('wlxml-tag') %><% if(parents[i].getAttribute('wlxml-class')) { %>.<%= parents[i].getAttribute('wlxml-class') %> <% } %></a><span class="divider">/</span></li> + <li><a href="#"> <%= parents[i].getWlxmlTag() %><% if(parents[i].getWlxmlClass()) { %>.<%= parents[i].getWlxmlClass() %> <% } %></a><span class="divider">/</span></li> <% } %> - <li class="active"><span data-id="<%= node.attr('id') %>"><%= node.attr('wlxml-tag') %><% if(node.attr('wlxml-class')) { %>.<%= node.attr('wlxml-class') %> <% } %></span></li> + <li class="active"><%= node.getWlxmlTag() %><% if(node.getWlxmlClass()) { %>.<%= node.getWlxmlClass() %> <% } %></span></li> <% } %> </ul> </div> \ No newline at end of file