[imp] view

bzr revid: rlo@openerp.com-20120227135425-879tmcgw20dfy2a1
This commit is contained in:
Roberto López López (OpenERP)
2012-02-27 14:54:25 +01:00
parent 37ed7a1d9f
commit 95d9cb9f4e
4 changed files with 30 additions and 10 deletions
@@ -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');
+1 -1
View File
@@ -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>