aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCa-Phun Ung <pazu2k@gmail.com>2009-01-04 13:43:01 +0000
committerCa-Phun Ung <pazu2k@gmail.com>2009-01-04 13:43:01 +0000
commit8afca52198665a39ca3970bd032d1c58544ceefb (patch)
treea354b06888cb04303e13b729f377e162b16a8ca8
parent1b6638cbe7437f9da0784eb37bab1b28a868c32d (diff)
downloadjquery-ui-8afca52198665a39ca3970bd032d1c58544ceefb.tar.gz
jquery-ui-8afca52198665a39ca3970bd032d1c58544ceefb.zip
datepicker: fixes #3679 [focus error on IE if disabled]: added visual test to verify. Both IE 6 & 7 do not return an error.
-rw-r--r--tests/visual/datepicker.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/visual/datepicker.html b/tests/visual/datepicker.html
index e33da6a30..557fb7f72 100644
--- a/tests/visual/datepicker.html
+++ b/tests/visual/datepicker.html
@@ -53,6 +53,10 @@
$('#inl').datepicker('destroy');
event.preventDefault();
});
+
+ // disabled input datepicker
+ $('#d3').datepicker();
+
});
</script>
</head>
@@ -87,6 +91,12 @@
Datepicker Inline
<div id="inl"></div>
</li>
+ <li class="plugin">
+ Datepicker disabled input
+ <div>
+ <input type="text" id="d3" disabled="true">
+ </div>
+ </li>
</ul>
</body>