summaryrefslogtreecommitdiff
path: root/addons/google_docs/static/src/js/gdocs.js
diff options
context:
space:
mode:
authorTejas Tank <tta@openerp.com>2012-11-01 12:48:46 +0530
committerTejas Tank <tta@openerp.com>2012-11-01 12:48:46 +0530
commit08e37a27580d8322311dd8f27c082293ca7548b9 (patch)
tree878a8022d49f946683afb404a9447ac004a58b17 /addons/google_docs/static/src/js/gdocs.js
parent596e419fe789e4204575adfc0c84055641a62503 (diff)
[IMP]: meaningful google doc name and newly created google document open in new tab.
bzr revid: tta@openerp.com-20121101071846-i9k3jfa8bdzfwvu9
Diffstat (limited to 'addons/google_docs/static/src/js/gdocs.js')
-rw-r--r--addons/google_docs/static/src/js/gdocs.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/google_docs/static/src/js/gdocs.js b/addons/google_docs/static/src/js/gdocs.js
index 6e8ff59f377..3a14e1f4ad6 100644
--- a/addons/google_docs/static/src/js/gdocs.js
+++ b/addons/google_docs/static/src/js/gdocs.js
@@ -30,6 +30,7 @@ var _t = instance.web._t,
});
}
}).done(function(){
+ window.open(r.url,"_blank");
view.reload();
});
});