diff options
| author | Vidhin Mehta (OpenERP) <vme@tinyerp.com> | 2012-10-01 14:26:09 +0530 |
|---|---|---|
| committer | Vidhin Mehta (OpenERP) <vme@tinyerp.com> | 2012-10-01 14:26:09 +0530 |
| commit | 7c701944ec18cca695a2a1bdcaed0f2ed7802688 (patch) | |
| tree | 79dcf05cb06f23fa79f21a1db98423e76602d632 /addons/web_view_editor/static/src | |
| parent | 1370ae133d4477d0a7a2239732f529a1eef39824 (diff) | |
[IMP]remove callbacks from write method and change related code.
bzr revid: vme@tinyerp.com-20121001085609-rxdoknvpo130ehq3
Diffstat (limited to 'addons/web_view_editor/static/src')
| -rw-r--r-- | addons/web_view_editor/static/src/js/view_editor.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web_view_editor/static/src/js/view_editor.js b/addons/web_view_editor/static/src/js/view_editor.js index 1709b5aa8f5..e569f7dc394 100644 --- a/addons/web_view_editor/static/src/js/view_editor.js +++ b/addons/web_view_editor/static/src/js/view_editor.js @@ -775,7 +775,7 @@ instance.web_view_editor.ViewEditor = instance.web.Widget.extend({ convert_to_utf = convert_to_utf.replace('xmlns="http://www.w3.org/1999/xhtml"', ""); convert_to_utf = '<?xml version="1.0"?>' + convert_to_utf; arch.arch = convert_to_utf; - this.dataset.write(this.one_object.clicked_tr_view[0] ,{"arch":convert_to_utf}, function(r) {}); + this.dataset.write(this.one_object.clicked_tr_view[0] ,{"arch":convert_to_utf}); } else { this.dataset.unlink([this.one_object.clicked_tr_view[0]]); } |
