Skip to content

Commit

Permalink
Refs matomo-org#4041, allow datatable HTML to use JS namespace when s…
Browse files Browse the repository at this point in the history
…pecifying the client-side datatable type.
  • Loading branch information
Benaka Moorthi committed Sep 20, 2013
1 parent ab09ec7 commit 2b14ad2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/CoreHome/javascripts/dataTable_manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
}
}

var klass = require('piwik/UI')[tableType];
var klass = require('piwik/UI')[tableType] || require(tableType);
self.initSingleDataTable(this, klass, params, props);
}
});
Expand Down

0 comments on commit 2b14ad2

Please sign in to comment.