summaryrefslogtreecommitdiff
path: root/addons/web_tests/static/src/js
diff options
context:
space:
mode:
authorVishmita <vja@tinyerp.com>2012-10-11 15:58:37 +0530
committerVishmita <vja@tinyerp.com>2012-10-11 15:58:37 +0530
commitffe8dd604a833ae8c3f6b8d1fd6ccdfa02b256bb (patch)
tree44d7961b09e4678c0ba8f3c4bc1ece4469213b6c /addons/web_tests/static/src/js
parent3e15613cf7783df5175f52d0ba4945ba54890f98 (diff)
parent70afbd796e441cce26171af03c26a08f88c3ab52 (diff)
[MERGE]Merge Trunk
bzr revid: vja@tinyerp.com-20121011102837-k0y1kvf901rp3l8u
Diffstat (limited to 'addons/web_tests/static/src/js')
-rw-r--r--addons/web_tests/static/src/js/web_tests.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/addons/web_tests/static/src/js/web_tests.js b/addons/web_tests/static/src/js/web_tests.js
index 5b9c1d02503..bc7d16913fb 100644
--- a/addons/web_tests/static/src/js/web_tests.js
+++ b/addons/web_tests/static/src/js/web_tests.js
@@ -23,14 +23,14 @@ openerp.web_tests = function (instance) {
on_everything_loaded: function (slice) {
var records = slice[0].records;
if (!records.length) {
- this.form.on_record_loaded({});
+ this.form.trigger("load_record", {});
return;
}
- this.form.on_record_loaded(records[0]);
+ this.form.trigger("load_record", records[0]);
_(records.slice(1)).each(function (record, index) {
this.dataset.index = index+1;
this.form.reposition($('<div>').appendTo(this.$el));
- this.form.on_record_loaded(record);
+ this.form.trigger("load_record", record);
}, this);
}
});