kopia lustrzana https://github.com/c9/core
Fix NaN test.
rodzic
59f506844f
commit
acc27242a1
|
@ -3726,7 +3726,7 @@ apf.setNodeValue = function(xmlNode, nodeValue) {
|
|||
else {
|
||||
var oldValue = xmlNode.nodeValue;
|
||||
xmlNode.nodeValue = nodeValue === undefined || nodeValue === null ||
|
||||
nodeValue == NaN ? "" : String(nodeValue);
|
||||
isNaN(nodeValue) ? "" : String(nodeValue);
|
||||
|
||||
//AML support - getters/setters would be awesome
|
||||
if (xmlNode.$triggerUpdate)
|
||||
|
|
Ładowanie…
Reference in New Issue