Skip to content

Commit 6c99f65

Browse files
committed
fixed #19
1 parent 6a35ab3 commit 6c99f65

File tree

6 files changed

+11
-6
lines changed

6 files changed

+11
-6
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ Release History
22
---------------
33

44
## [Unreleased]
5+
# [1.4.1] - 2016-08-30
6+
7+
### Fixed
8+
- null values in data were rendered as "null" in IE, now they're converted to empty string
9+
510
# [1.4.0] - 2016-08-30
611
### Breaking changes
712
- Expand property in field settings is no longer used to define which directive to use when expanding/opening a row, just pass true if clicking column should expand row. Use gtExpand attribute to pass and object containing which directive to use and optionally, if multiple rows should be allowed, add that property as well like this:

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "angular-generic-table",
33
"description": "Generic Table - A generic table for Angular that leverages one time binding for fast rendering. Generic table uses standard markup for tables ie. table, tr and td elements etc. and has support for expanding rows, search, filters, sorting, pagination, export to CSV, column clicks, custom column rendering, custom export values.",
4-
"version": "1.4.0",
4+
"version": "1.4.1",
55
"keywords": [
66
"angular",
77
"generic-table",

dist/js/angular-generic-table.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -665,7 +665,7 @@ angular.module('angular.generic.table').directive('genericTable', function() {
665665
output = $compile(output)(elementScope); // compile
666666
element.append(output); // add html
667667
} else {
668-
element[0].innerHTML = output; // add html
668+
element[0].innerHTML = output === null ? '':output; // add html
669669
}
670670
}
671671
};

dist/js/angular-generic-table.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

generic-table/directive/generic-table/generic-table.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -656,7 +656,7 @@ angular.module('angular.generic.table').directive('genericTable', function() {
656656
output = $compile(output)(elementScope); // compile
657657
element.append(output); // add html
658658
} else {
659-
element[0].innerHTML = output; // add html
659+
element[0].innerHTML = output === null ? '':output; // add html
660660
}
661661
}
662662
};

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-generic-table",
3-
"version": "1.4.0",
3+
"version": "1.4.1",
44
"devDependencies": {
55
"bower": "1.6.2",
66
"bower-art-resolver": "^2.0.1",

0 commit comments

Comments
 (0)