Skip to content

Commit

Permalink
Fixed issue #06187: Javascript Error on em_javascript.js : attr is un…
Browse files Browse the repository at this point in the history
…defined

Dev Gracefully handle LEMval('')
  • Loading branch information
TMSWhite committed Jun 11, 2012
1 parent 10e1c18 commit 55d33c6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/expressions/em_javascript.js
Expand Up @@ -211,6 +211,7 @@ function LEMval(alias)
var suffix = 'code'; // the default

/* If passed a number, return that number */
if (str == '') return '';
newval = str;
if (LEMradix === ',') {
newval = str.split(',').join('.');
Expand Down

0 comments on commit 55d33c6

Please sign in to comment.