Skip to content

Commit

Permalink
Fix #318: Fix post pjax setTimeout JS function
Browse files Browse the repository at this point in the history
  • Loading branch information
kartik-v committed Jun 16, 2015
1 parent 039dcea commit 5359558
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion CHANGE.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
Version 3.0.3
=============
**Date:** 05-Jun-2015
**Date:** 15-Jun-2015

1. (enh #300): Add Lithuanian Translations.
2. (enh #301): Add Greek Translations.
3. (enh #310): Updated German Translations.
4. (enh #311): Better defaulting of Select2 `pluginOptions['width']`.
5. (enh #313): Add Czech translations.
6. (enh #317): Add missing spanish translations.
7. (enh #318): Fix post pjax setTimeout JS function.

Version 3.0.2
=============
Expand Down
2 changes: 1 addition & 1 deletion GridView.php
Original file line number Diff line number Diff line change
Expand Up @@ -1238,7 +1238,7 @@ protected function beginPjax()
$js .= ".on('pjax:timeout', function(e){e.preventDefault()})";
}
$loadingCss = ArrayHelper::getvalue($this->pjaxSettings, 'loadingCssClass', 'kv-grid-loading');
$postPjaxJs = "setTimeout({$this->_gridClientFunc}(), 2500);";
$postPjaxJs = "setTimeout({$this->_gridClientFunc}, 2500);";
if ($loadingCss !== false) {
$grid = 'jQuery("#' . $this->containerOptions['id'] . '")';
if ($loadingCss === true) {
Expand Down

0 comments on commit 5359558

Please sign in to comment.