]> source.dussan.org Git - jquery-ui.git/commitdiff
demos: dialog modal form
authorChi Cheng <cloudream@gmail.com>
Thu, 29 Jan 2009 12:17:47 +0000 (12:17 +0000)
committerChi Cheng <cloudream@gmail.com>
Thu, 29 Jan 2009 12:17:47 +0000 (12:17 +0000)
demos/dialog/modal-form2.html

index f869cc891b0d20ec88c2221304a4a2922003ddc0..84d51161da56aa77b11082db4d7f2bf86f12fd90 100644 (file)
@@ -86,7 +86,7 @@
                                }
                        },
                        close: function() {
-                               allFields.val('');
+                               allFields.val('').removeClass('ui-state-error');
                        }
                });