fnp
/
fnpeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
smartxml: throw exception on missing tagName property sent to createDocumentNode
[fnpeditor.git]
/
src
/
editor
/
modules
/
documentCanvas
/
canvas
/
widgets.js
diff --git
a/src/editor/modules/documentCanvas/canvas/widgets.js
b/src/editor/modules/documentCanvas/canvas/widgets.js
index
408d2c0
..
77dd0fd
100644
(file)
--- a/
src/editor/modules/documentCanvas/canvas/widgets.js
+++ b/
src/editor/modules/documentCanvas/canvas/widgets.js
@@
-9,7
+9,7
@@
return {
labelWidget: function(tag, klass) {
return $('<span>')
.addClass('canvas-widget canvas-widget-label')
labelWidget: function(tag, klass) {
return $('<span>')
.addClass('canvas-widget canvas-widget-label')
- .text(wlxmlUtils.
wlxmlTagNames[tag] + (klass ? ' / ' + wlxmlUtils.wlxmlClassNames[klass]
: ''));
+ .text(wlxmlUtils.
getTagLabel(tag) + (klass ? ' / ' + wlxmlUtils.getClassLabel(klass)
: ''));
},
footnoteHandler: function(clickHandler) {
},
footnoteHandler: function(clickHandler) {