fnp
/
fnpeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
smartxml: fix - handle invalid params.node value
[fnpeditor.git]
/
src
/
editor
/
modules
/
nodeBreadCrumbs
/
template.html
diff --git
a/src/editor/modules/nodeBreadCrumbs/template.html
b/src/editor/modules/nodeBreadCrumbs/template.html
index
781ef5c
..
062fb1e
100644
(file)
--- a/
src/editor/modules/nodeBreadCrumbs/template.html
+++ b/
src/editor/modules/nodeBreadCrumbs/template.html
@@
-2,9
+2,9
@@
<ul class="breadcrumb">
<% if(node && parents) { %>
<% for(var i = parents.length - 1; i >= 0; i--) { %>
<ul class="breadcrumb">
<% if(node && parents) { %>
<% for(var i = parents.length - 1; i >= 0; i--) { %>
- <li><a href="#"> <%=
tagNames[parents[i].getTagName()] %><% if(parents[i].getClass()) { %>.<%= classNames[parents[i].getClass()]
%> <% } %></a><span class="divider">/</span></li>
+ <li><a href="#"> <%=
utils.getTagLabel(parents[i].getTagName()) %><% if(parents[i].getClass()) { %>.<%= utils.getClassLabel(parents[i].getClass())
%> <% } %></a><span class="divider">/</span></li>
<% } %>
<% } %>
- <li class="active"><%=
tagNames[node.getTagName()] %><% if(node.getClass()) { %>.<%= classNames[node.getClass()]
%> <% } %></span></li>
- <% } %>
+ <li class="active"><%=
utils.getTagLabel(node.getTagName()) %><% if(node.getClass()) { %>.<%= utils.getClassLabel(node.getClass())
%> <% } %></span></li>
+ <% }
else { %> <% }
%>
</ul>
</div>
\ No newline at end of file
</ul>
</div>
\ No newline at end of file