summaryrefslogtreecommitdiff
path: root/addons/web_tests/static/src
diff options
context:
space:
mode:
authorvta vta@openerp.com <>2012-08-30 09:05:01 +0200
committervta vta@openerp.com <>2012-08-30 09:05:01 +0200
commite2d9e9e2f7f1e0728e46836fcaacebaf38d7bed1 (patch)
tree252b9180aa13d5fe3ec601911d62a88f63c47b17 /addons/web_tests/static/src
parentc7264344a838575b62be221a6df004b1bcfd0f83 (diff)
parent6e943465be4c6df2a356b93e7be8a1da4eb8d74f (diff)
[MERGE] Merged latest trunk.
bzr revid: vta@openerp.com-20120830070501-qy3am8pj7q3xm0oi
Diffstat (limited to 'addons/web_tests/static/src')
-rw-r--r--addons/web_tests/static/src/js/web_tests.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/web_tests/static/src/js/web_tests.js b/addons/web_tests/static/src/js/web_tests.js
index ffc32a93aaf..5b9c1d02503 100644
--- a/addons/web_tests/static/src/js/web_tests.js
+++ b/addons/web_tests/static/src/js/web_tests.js
@@ -18,7 +18,7 @@ openerp.web_tests = function (instance) {
start: function () {
$.when(
this.dataset.read_slice(),
- this.form.appendTo(this.$element)).then(this.on_everything_loaded);
+ this.form.appendTo(this.$el)).then(this.on_everything_loaded);
},
on_everything_loaded: function (slice) {
var records = slice[0].records;
@@ -29,7 +29,7 @@ openerp.web_tests = function (instance) {
this.form.on_record_loaded(records[0]);
_(records.slice(1)).each(function (record, index) {
this.dataset.index = index+1;
- this.form.reposition($('<div>').appendTo(this.$element));
+ this.form.reposition($('<div>').appendTo(this.$el));
this.form.on_record_loaded(record);
}, this);
}