From 28cc45485a1a72e0d6dfc0846dea140ceb2e1e62 Mon Sep 17 00:00:00 2001 From: j Date: Thu, 31 Jan 2019 11:01:25 +0530 Subject: [PATCH] update placeholder --- source/UI/js/Form/EditableContent.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/UI/js/Form/EditableContent.js b/source/UI/js/Form/EditableContent.js index b5766837..a840909c 100644 --- a/source/UI/js/Form/EditableContent.js +++ b/source/UI/js/Form/EditableContent.js @@ -36,6 +36,9 @@ Ox.EditableContent = function(options, self) { submit(); } }, + placeholder: function() { + !self.options.editing && that.html(formatValue()); + }, highlight: function() { !self.options.editing && that.html(formatValue()); },