From ccb7fac25ec34de597cec32c28b2eeaf3ee53d61 Mon Sep 17 00:00:00 2001 From: Jermolene Date: Sat, 9 Nov 2013 14:17:08 +0000 Subject: [PATCH] Fix further typo in edit-text widget --- core/modules/widgets/edit-text.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/modules/widgets/edit-text.js b/core/modules/widgets/edit-text.js index cabaf86ba..52975e713 100644 --- a/core/modules/widgets/edit-text.js +++ b/core/modules/widgets/edit-text.js @@ -80,8 +80,8 @@ EditTextWidget.prototype.getEditInfo = function() { value = this.wiki.extractTiddlerDataItem(this.editTitle,this.editIndex,this.editDefault); update = function(value) { var data = self.wiki.getTiddlerData(self.editTitle,{}); - if(data[self.editIndex] !== text) { - data[self.editIndex] = text; + if(data[self.editIndex] !== value) { + data[self.editIndex] = value; self.wiki.setTiddlerData(self.editTitle,data); } };