diff --git a/core/modules/widgets/action-setfield.js b/core/modules/widgets/action-setfield.js index 7d6681752..5f40d4e3c 100644 --- a/core/modules/widgets/action-setfield.js +++ b/core/modules/widgets/action-setfield.js @@ -60,7 +60,7 @@ Invoke the action associated with this widget SetFieldWidget.prototype.invokeAction = function(triggeringWidget,event) { var self = this, options = {}; - options.timestamp = this.actionTimestamp; + options.suppressTimestamp = !this.actionTimestamp; if(typeof this.actionValue === "string") { this.wiki.setText(this.actionTiddler,this.actionField,this.actionIndex,this.actionValue,options); } diff --git a/core/modules/wiki.js b/core/modules/wiki.js index bf53e34c6..9e6a30383 100755 --- a/core/modules/wiki.js +++ b/core/modules/wiki.js @@ -60,8 +60,8 @@ exports.setTextReference = function(textRef,value,currTiddlerTitle) { exports.setText = function(title,field,index,value,options) { options = options || {}; - var creationFields = options.timestamp ? this.getCreationFields() : {}, - modificationFields = options.timestamp ? this.getModificationFields() : {}; + var creationFields = options.suppressTimestamp ? {} : this.getCreationFields(), + modificationFields = options.suppressTimestamp ? {} : this.getModificationFields(); // Check if it is a reference to a tiddler field if(index) { var data = this.getTiddlerData(title,Object.create(null));