Skip to content

Commit

Permalink
focus fix
Browse files Browse the repository at this point in the history
  • Loading branch information
noumo committed May 17, 2015
1 parent 6be841b commit 5beb718
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion widgets/DateTimePicker.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public function registerScript()
.data("DateTimePicker")
.date(moment('.($this->model->{$this->attribute} * 1000).'));
$("[type=text]").focus(function(e){
$("[type=text]", dtpContainer).focus(function(e){
dtpContainer.data("DateTimePicker").show();
});
');
Expand Down

0 comments on commit 5beb718

Please sign in to comment.