Ticket #827: ticket827.patch

File ticket827.patch, 0.6 KB (added by FND, 3 years ago)
  • core/js/Story.js

    diff --git a/core/js/Story.js b/core/js/Story.js
    index 1893a0f..c400af5 100644
    a b  
    273273Story.prototype.addCustomFields = function(place,customFields) 
    274274{ 
    275275        var fields = customFields.decodeHashMap(); 
    276         var w = document.createElement("div"); 
     276        var w = createTiddlyElement(place,"div",null,"customFields"); 
    277277        w.style.display = "none"; 
    278         place.appendChild(w); 
    279278        for(var t in fields) { 
    280279                var e = document.createElement("input"); 
    281280                e.setAttribute("type","text");