summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Young <ayoung@redhat.com>2011-06-16 14:36:04 -0400
committerAdam Young <ayoung@redhat.com>2011-06-16 14:36:04 -0400
commitc610a1738370e64aa8edf7c7043d3bc271ef5bfb (patch)
treec124f19eb04f9e5a392d5dace6426f6c888fea38
parentf02b544aaf53156cb1fee8e64456eee31866c10f (diff)
downloadfreeipa-c610a1738370e64aa8edf7c7043d3bc271ef5bfb.tar.gz
freeipa-c610a1738370e64aa8edf7c7043d3bc271ef5bfb.tar.xz
freeipa-c610a1738370e64aa8edf7c7043d3bc271ef5bfb.zip
test dirty textarea
runs the testdirty check before setting the undo tag for a textarea
-rw-r--r--install/ui/widget.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/install/ui/widget.js b/install/ui/widget.js
index 4dc2d5f81..445b949db 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();
});