From 2c3e028cf7139ed196f68022eea553a0931ff635 Mon Sep 17 00:00:00 2001
From: Dan Chadwick <dan899@gmail.com>
Date: Fri, 2 Oct 2015 12:39:02 -0400
Subject: [PATCH] Issue #2579227: Fixed setting a conditional rule to 'is
 empty' breaks subsequent operators.

---
 js/webform-admin.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/js/webform-admin.js b/js/webform-admin.js
index 35ae38d..9b9f2af 100644
--- a/js/webform-admin.js
+++ b/js/webform-admin.js
@@ -260,7 +260,7 @@
     }
     // If the operator does not need a source value (i.e. is empty), hide it.
     else if (formKey === false) {
-      $value[0].innerHTML = '&nbsp;';
+      $value[0].innerHTML = '<input type="text" value="" style="display: none;" >';
     }
     // If there is a per-source form for this operator (e.g. option lists), use
     // the specialized value form.
-- 
1.7.8.msysgit.0

