diff options
| author | Roberto López López (OpenERP) <rlo@openerp.com> | 2012-02-27 14:54:25 +0100 |
|---|---|---|
| committer | Roberto López López (OpenERP) <rlo@openerp.com> | 2012-02-27 14:54:25 +0100 |
| commit | 95d9cb9f4ec264b0ee35fdc5bef9058d9cfdbe0b (patch) | |
| tree | 340c625ca17c4010772b70049a36e5389b447a19 /addons/google_docs/static | |
| parent | 37ed7a1d9f1819fd39cbf0eb0679ae17e1afd91a (diff) | |
[imp] view
bzr revid: rlo@openerp.com-20120227135425-879tmcgw20dfy2a1
Diffstat (limited to 'addons/google_docs/static')
| -rw-r--r-- | addons/google_docs/static/src/js/gdocs.js | 1 | ||||
| -rw-r--r-- | addons/google_docs/static/src/xml/gdocs.xml | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/addons/google_docs/static/src/js/gdocs.js b/addons/google_docs/static/src/js/gdocs.js index 30edffaad7f..579414ee74a 100644 --- a/addons/google_docs/static/src/js/gdocs.js +++ b/addons/google_docs/static/src/js/gdocs.js @@ -2,6 +2,7 @@ openerp.gdocs = function(instance) { instance.web.form.SidebarAttachments = instance.web.form.SidebarAttachments.extend({ on_attachments_loaded: function(attachments) { + alert('gdocs.js.on_attachments_loaded()'); this._super(attachments); var self = this; var $gdocbtn = self.$element.find('button.gdocs'); diff --git a/addons/google_docs/static/src/xml/gdocs.xml b/addons/google_docs/static/src/xml/gdocs.xml index bc7a56842ba..9f78a91c28f 100644 --- a/addons/google_docs/static/src/xml/gdocs.xml +++ b/addons/google_docs/static/src/xml/gdocs.xml @@ -4,7 +4,7 @@ <templates id="template" xml:space="preserve"> <t t-extend="FormView.sidebar.attachments"> <t t-jquery="div.oe-binary-file-set" t-operation="append"> - <button class="oe_button" type="button"> + <button class="oe-button" type="button"> <img src="/web/static/src/img/throbber.gif" width="16" height="16" style="display: none"/> <span>Add GDoc</span> </button> |
