Skip to content

Commit

Permalink
Issue 158: Dateinput trigger can no longer open calendar when input i…
Browse files Browse the repository at this point in the history
…s disabled
  • Loading branch information
tipiirai committed Sep 11, 2010
1 parent 69d5269 commit 81c382f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dateinput/dateinput.js
Expand Up @@ -386,7 +386,7 @@

show: function(e) {

if (input.is("[readonly]") || opened) { return; }
if (input.attr("readonly") || input.attr("disabled") || opened) { return; }

// onBeforeShow
e = e || $.Event();
Expand Down

0 comments on commit 81c382f

Please sign in to comment.