diff options
| author | MVA <mva@openerp.com> | 2012-03-20 17:03:20 +0100 |
|---|---|---|
| committer | MVA <mva@openerp.com> | 2012-03-20 17:03:20 +0100 |
| commit | f77cecb90c39041267455b05b23764f85e6783a5 (patch) | |
| tree | 0094a25db130abb8a983d2ef7217f595e76a8e10 /addons/google_docs/static/src | |
| parent | 9d5db695ee3e1cfc1f0d306bccf117640a14927b (diff) | |
[IMP] add oauth
bzr revid: mva@openerp.com-20120320160320-tykxuosgpq1r28ag
Diffstat (limited to 'addons/google_docs/static/src')
| -rw-r--r-- | addons/google_docs/static/src/js/gdocs.js | 1 | ||||
| -rw-r--r-- | addons/google_docs/static/src/xml/gdocs.xml | 7 |
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> |
