From 0e8b0e05622095f0df1b518e53e042a37785fb1b Mon Sep 17 00:00:00 2001 From: nathangray Date: Tue, 17 Sep 2019 09:11:14 -0600 Subject: [PATCH] Etemplate: Fix unable to clear color picker --- api/js/etemplate/et2_widget_color.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/js/etemplate/et2_widget_color.js b/api/js/etemplate/et2_widget_color.js index edeeb30dcf..d33448217b 100644 --- a/api/js/etemplate/et2_widget_color.js +++ b/api/js/etemplate/et2_widget_color.js @@ -46,7 +46,7 @@ var et2_color = (function(){ "use strict"; return et2_inputWidget.extend( var value = this.$node.val(); if(value === '#FFFFFF' || value === '#ffffff') { - return null; + return ''; } return value; },