Changeset 19795


Ignore:
Timestamp:
11/24/15 07:52:47 (9 years ago)
Author:
Eric.Larour
Message:

CHG: minor bug fixes.

Location:
issm/trunk-jpl/src/m/plot
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/plot/plot_manager.js

    r19792 r19795  
    216216        }
    217217
    218         //apply all options
    219         if (datatype==3){
    220                 options.changefieldvalue('colorbar',2);
    221                 if (options.exist('contourlevels')){
    222                         data2=data;
    223                 }
    224         }
    225218        //applyoptions(md,data2,options);
    226219        applyoptions(md,data,options);
  • issm/trunk-jpl/src/m/plot/processdata.js

    r19793 r19795  
    1515
    1616        //check format
    17         if ( data.length ==0 | data === [] | typeof data === 'number' | isNaN(data) ){
     17        if ( data.length ==0 | data === [] | typeof data === 'number' | ArrayAnyNaN(data) ){
    1818                throw Error('plotmodel error message: data provided is empty');
    1919        }
Note: See TracChangeset for help on using the changeset viewer.