summaryrefslogtreecommitdiff
path: root/addons/google_docs/static/src
diff options
context:
space:
mode:
Diffstat (limited to 'addons/google_docs/static/src')
-rw-r--r--addons/google_docs/static/src/js/gdocs.js1
-rw-r--r--addons/google_docs/static/src/xml/gdocs.xml7
2 files changed, 3 insertions, 5 deletions
diff --git a/addons/google_docs/static/src/js/gdocs.js b/addons/google_docs/static/src/js/gdocs.js
index c6bc1caa5ed..c32dc4c8829 100644
--- a/addons/google_docs/static/src/js/gdocs.js
+++ b/addons/google_docs/static/src/js/gdocs.js
@@ -12,7 +12,6 @@ openerp.google_docs = function(instance, session) {
// if the configuration isn't set, the buttons should be hidden.
if (r==false) {
$('.oe_google_docs_text_button').css('display', 'none');
-
return;
}
diff --git a/addons/google_docs/static/src/xml/gdocs.xml b/addons/google_docs/static/src/xml/gdocs.xml
index 1182e9f8421..927b35f115d 100644
--- a/addons/google_docs/static/src/xml/gdocs.xml
+++ b/addons/google_docs/static/src/xml/gdocs.xml
@@ -5,14 +5,13 @@
<t t-extend="FormView.sidebar.attachments">
<t t-jquery="div.oe-binary-file-set" t-operation="append">
<button class="oe_google_docs_text_button" type="button">
- <img src="/web/static/src/img/throbber.gif" width="16" height="16" style="display: none"/>
- <span>Add GDoc - text</span>
+ <!--<img src="/web/static/src/img/throbber.gif" width="16" height="16"/>-->
+ <span>Add A Goole Docs</span>
</button>
- <button class="oe_google_docs_spreadsheet_button" type="button">
+ <!--<button class="oe_google_docs_spreadsheet_button" type="button">
<img src="/web/static/src/img/throbber.gif" width="16" height="16" style="display: none"/>
<span>Add GDoc - spreadsheet</span>
</button>
- <!--
<button class="oe_google_docs_slide_button" type="button">
<img src="/web/static/src/img/throbber.gif" width="16" height="16" style="display: none"/>
<span>Add GDoc - presentation</span>