[Freeipa-devel] One liner for test dirty on textareas.

Adam Young ayoung at redhat.com
Thu Jun 16 19:26:52 UTC 2011


Pushed to master

diff --git a/install/ui/widget.js b/install/ui/widget.js
index 4dc2d5f..445b949 100644
--- a/install/ui/widget.js
+++ b/install/ui/widget.js
@@ -1017,7 +1017,7 @@ IPA.textarea_widget = function (spec) {

          var input = $('textarea[name="'+that.name+'"]', that.container);
          input.keyup(function() {
-            that.set_dirty(true);
+            that.set_dirty(that.test_dirty());
              that.validate();

          });




More information about the Freeipa-devel mailing list