diff --git a/core/modules/widgets/fields.js b/core/modules/widgets/fields.js index df2fa73b2..59a3bad2d 100644 --- a/core/modules/widgets/fields.js +++ b/core/modules/widgets/fields.js @@ -37,7 +37,15 @@ FieldsWidget.prototype.generate = function() { // Compose the template var text = []; if(this.template && tiddler) { + var fields = []; for(var fieldName in tiddler.fields) { + if(exclude.indexOf(fieldName) === -1) { + fields.push(fieldName); + } + } + fields.sort(); + for(var f=0; f