Skip to content

Commit

Permalink
Fixed issue: Datetimepicker not always loading
Browse files Browse the repository at this point in the history
  • Loading branch information
lacrioque committed Dec 1, 2017
1 parent 1d856dc commit f8be58b
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -123,7 +123,7 @@ public function registerClientScript()
? '#' . TbArray::getValue('id', $this->htmlOptions, $this->getId()) . '_datetimepicker'
: $this->selector;

$this->getApi()->registerPlugin('datetimepicker', $selector, $this->pluginOptions);
$this->getApi()->registerPlugin('datetimepicker', $selector, $this->pluginOptions, LSYii_ClientScript::POS_POSTSCRIPT);

if($this->events)
{
Expand Down

0 comments on commit f8be58b

Please sign in to comment.