Must use pipe instead of always as we want to serialize the calls

This commit is contained in:
Cédric Krier committed 2012-12-26 15:18:27 +01:00
1 parent dd18c45906
commit b5c4c4baf5
1 file changed
+1 -1
+1 -1
View File
@@ -180,7 +180,7 @@ Sao.Record = Class(Object, {
var load = function() {
return this.load(name);
};
return this.group.prm.always(load.bind(this));
return this.group.prm.pipe(load.bind(this));
}
var id2record = {};
id2record[this.id] = this;