datepicker: fixes #3679 [focus error on IE if disabled]: added visual test to verify. Both IE 6 & 7 do not return an error.

This commit is contained in:
Ca-Phun Ung 2009-01-04 13:43:01 +00:00
parent 1b6638cbe7
commit 8afca52198

View File

@ -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>