Charts: Fix error message

This commit is contained in:
Aysam Guerler
2015-02-11 20:56:10 -05:00
parent 7eec63204d
commit 3ffcc2448c
2 changed files with 2 additions and 2 deletions
File diff suppressed because one or more lines are too long
@@ -295,7 +295,7 @@ return Backbone.View.extend({
return;
}
for (var key in chart_def.columns) {
if (group.attributes[key] == 'null') {
if (group.attributes[key] === '__undefined__') {
self.message.update({status: 'danger', message: 'This chart type requires column types not found in your tabular file.'});
self.tabs.show(group.id);
valid = false;