summaryrefslogtreecommitdiff
path: root/addons/google_docs/static/src
diff options
context:
space:
mode:
authorTejas Tank <tta@openerp.com>2012-11-01 14:50:13 +0530
committerTejas Tank <tta@openerp.com>2012-11-01 14:50:13 +0530
commitdc015a8be2c62468ca0d353f8ba2315370485ae0 (patch)
treeda299c4dc4865dceff169ad4312d0aec8e2f92ba /addons/google_docs/static/src
parentacac88ed5a334ee536c26ebc146871af386593c6 (diff)
[FIX] corrected code for opening new google doc.
bzr revid: tta@openerp.com-20121101092013-ks4hfd3cjj9trw8s
Diffstat (limited to 'addons/google_docs/static/src')
-rw-r--r--addons/google_docs/static/src/js/gdocs.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/google_docs/static/src/js/gdocs.js b/addons/google_docs/static/src/js/gdocs.js
index 3a14e1f4ad6..0cc93b2510c 100644
--- a/addons/google_docs/static/src/js/gdocs.js
+++ b/addons/google_docs/static/src/js/gdocs.js
@@ -29,7 +29,7 @@ var _t = instance.web._t,
modal: true,
});
}
- }).done(function(){
+ }).done(function(r){
window.open(r.url,"_blank");
view.reload();
});