=== modified file 'src/com/goldencode/p2j/ui/client/driver/web/res/p2j.js' --- src/com/goldencode/p2j/ui/client/driver/web/res/p2j.js 2015-12-17 20:00:50 +0000 +++ src/com/goldencode/p2j/ui/client/driver/web/res/p2j.js 2015-12-22 18:44:44 +0000 @@ -182,7 +182,7 @@ /** * Returns the string representation of all own object's properties in the following format: - * [key1 : value1[; key2 : value2] ...] + * [key1 : value1[; key2 : value2] ...], where value1, value2, ... are strings or numbers. * * @param {Object} styleObj * The custom object that holds the target style properties. @@ -201,7 +201,7 @@ { if (styleObj.hasOwnProperty(prop)) { - if (typeof styleObj[prop] !== "object") + if (typeof styleObj[prop] === "string" || typeof styleObj[prop] === "number") { clsDef += (prop + ":" + styleObj[prop] + ";"); }