smart-classic / smart_sample_apps

SMART Sample Apps
Apache License 2.0
32 stars 31 forks source link

Growth charts table view displays heights in weight row #41

Closed bostjanl closed 11 years ago

bostjanl commented 11 years ago

There is a typo in gc-grid-view.js: ...

    function getWeight( entry ) {
        if ( entry.hasOwnProperty("weight") ) {
            return GC.Util.format(entry.lengthAndStature, {

This should be:

    function getWeight( entry ) {
        if ( entry.hasOwnProperty("weight") ) {
            return GC.Util.format(entry.weight, {
nschwertner commented 11 years ago

Thank you for the report