]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - org.argeo.slc.webapp/src/main/webapp/argeo-ria-lib/slc/class/org/argeo/slc/ria/execution/Message.js
Initialize array at startup, not inside the property, otherwise there is a static...
[gpl/argeo-slc.git] / org.argeo.slc.webapp / src / main / webapp / argeo-ria-lib / slc / class / org / argeo / slc / ria / execution / Message.js
index e7e4ca5250f766951ef24168e9068a3c75a3aa2c..0140311db4ab2c7895e7611147a70486fb77d982 100644 (file)
@@ -21,6 +21,7 @@ qx.Class.define("org.argeo.slc.ria.execution.Message", {
                        s[8] = s[13] = s[18] = s[23] = '-';\r
                        this.setUuid(s.join('').toLowerCase());                 \r
                }\r
+               this.setBatchEntrySpecs([]);\r
                this.setAttributes({});\r
        },\r
        properties : {\r
@@ -72,8 +73,7 @@ qx.Class.define("org.argeo.slc.ria.execution.Message", {
                        check : "Map"\r
                },\r
                batchEntrySpecs : {\r
-                       check : "Array",\r
-                       init : []\r
+                       check : "Array"\r
                }\r
        },\r
        members : {\r