kopia lustrzana https://github.com/miklobit/TiddlyWiki5
Improve handling of fieldmodules lacking a stringify method
rodzic
0be6bf84d1
commit
8471a2217a
|
@ -28,7 +28,7 @@ exports.getFieldString = function(field) {
|
|||
}
|
||||
// Parse the field with the associated module (if any)
|
||||
var fieldModule = $tw.Tiddler.fieldModules[field];
|
||||
if(fieldModule) {
|
||||
if(fieldModule && fieldModule.stringify) {
|
||||
return fieldModule.stringify.call(this,value);
|
||||
} else {
|
||||
return value.toString();
|
||||
|
|
Ładowanie…
Reference in New Issue