Upgraded to jqGrid 3.5.2, which has a couple bugfixes. Fixed a bug in our code preventing the grid query from being shown when in development mode.
git-svn-id: file:///svn-source/pmgr/branches/yafr_20090716/site@619 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
@@ -19,6 +19,7 @@ if (!isset($limitOptions)) {
|
||||
}
|
||||
sort($limitOptions, SORT_NUMERIC);
|
||||
$limitOptions = array_unique($limitOptions, SORT_NUMERIC);
|
||||
//$limitOptions[] = 'ALL'; // Would be nice... jqGrid shows 'NaN of NaN'
|
||||
|
||||
if (!isset($height))
|
||||
$height = 'auto';
|
||||
@@ -210,7 +211,7 @@ foreach (array_merge(array('loadComplete' => '', 'loadError' => ''),
|
||||
$grid_events[$event] =
|
||||
array('--special' => "function($params) {url=jQuery('#{$grid_id}').getGridParam('url');url=url+'/debug:1?'; pd=jQuery('#{$grid_id}').getPostData();$.each(pd,function(i){ url+=i+'='+escape(pd[i])+'&'; }); jQuery('#{$grid_id}-query').html('<A HREF=\"'+url+'\">Grid Error Query</A><BR>'); $statement;}");
|
||||
}
|
||||
if ($event == 'loadComplete' && !$debug) {
|
||||
elseif ($event == 'loadComplete' && !$debug) {
|
||||
$grid_events[$event] =
|
||||
array('--special' => "function($params) {jQuery('#{$grid_id}-error').hide(); $statement;}");
|
||||
}
|
||||
|
||||
6
webroot/js/jqGrid/jquery.jqGrid.min.js
vendored
6
webroot/js/jqGrid/jquery.jqGrid.min.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user