Skip to content

Commit 42752be

Browse files
committed
bug fix for processing xmlmap as functions
1 parent 0388c56 commit 42752be

File tree

4 files changed

+119
-115
lines changed

4 files changed

+119
-115
lines changed

js/grid.base.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* Dual licensed under the MIT and GPL licenses
99
* http://www.opensource.org/licenses/mit-license.php
1010
* http://www.gnu.org/licenses/gpl-2.0.html
11-
* Date: 2015-08-04
11+
* Date: 2015-08-05
1212
*/
1313
//jsHint options
1414
/*jshint evil:true, eqeqeq:false, eqnull:true, devel:true */
@@ -3190,7 +3190,9 @@
31903190
if (typeof nameReader === "string" || isFunction(nameReader)) {
31913191
colReader[cmName] = nameReader;
31923192
}
3193-
setSimpleColReaderIfPossible(cmName);
3193+
if (!isFunction(nameReader)) {
3194+
setSimpleColReaderIfPossible(cmName);
3195+
}
31943196
}
31953197
}
31963198
nCol = additionalProperties.length;

0 commit comments

Comments
 (0)