Don't list attribute categories as elements in element summary boxes.
authorCameron McCormack <cam@mcc.id.au>
Tue, 21 Aug 2012 15:34:52 +1000
changeset 59 6deaf3de95bd
parent 58 4f816c23b257
child 60 d1a22842fc34
Don't list attribute categories as elements in element summary boxes.
publish/processing.js
--- a/publish/processing.js	Tue Aug 21 15:06:25 2012 +1000
+++ b/publish/processing.js	Tue Aug 21 15:34:52 2012 +1000
@@ -455,7 +455,7 @@
     }
     var attributes = cat.commonAttributes.concat(cat.attributes.map(function(a) { return a.name }));
     // map(function(name) { return element.commonAttributes[name] }).concat(cat.attributes);
-    var li = utils.parse('<li><a href="{{href}}">{{name}} elements</a><span class="expanding"> — {{attributes}}</span></li>',
+    var li = utils.parse('<li><a href="{{href}}">{{name}} attributes</a><span class="expanding"> — {{attributes}}</span></li>',
                          { href: cat.href,
                            name: cat.name,
                            attributes: utils.fragment(attributes.map(function(a) { return conf.definitions.formatElementAttributeLink(element.name, a, n) }), ', ') });