[MERGE]
authorAmit Patel <apa@tinyerp.com>
Mon, 29 Oct 2012 12:21:15 +0000 (17:51 +0530)
committerAmit Patel <apa@tinyerp.com>
Mon, 29 Oct 2012 12:21:15 +0000 (17:51 +0530)
bzr revid: apa@tinyerp.com-20121029122115-zga92n7f0f1zntkp

1  2 
addons/pad/static/src/js/pad.js

@@@ -12,15 -12,12 +12,19 @@@ openerp.pad = function(instance) 
                          field_name: self.name,
                          object_id: self.view.datarecord.id
                      }}).then(function(data) {
++<<<<<<< TREE
 +                    if(data&&data.url){
 +                        // is there any reason to call super here ? why ?
 +                       // _super.apply(self,[data.url]);
 +                        self.renderElement();
++=======
+                     if(data && data.url){
+                         self.set_value(data.url);
++>>>>>>> MERGE-SOURCE
                      }
                  });
-             } else {
-                 self.renderElement();
              }
+             self.renderElement();
              this._dirty_flag = true;
          },
          renderElement: function(){