Comment #1 on issue 775 by eskil.olsen: "Add Comment" displays input field,  
but no save or such button.
http://code.google.com/p/reviewboard/issues/detail?id=775

FF error console shows ;

Error: this.el.dom.value is undefined
Source File: http://asg-reviews.asglab/media/rb/scripts/rb/widgets.js
Line: 456

YAHOO.extendX(RB.widgets.AutosizeTextArea, YAHOO.ext.util.Observable, {
     /**
      * Auto-sizes this text area to match the content.
      *
      * This works by setting our proxy element to match the exact width
      * of our text area and then filling it with text. The proxy element
      * will grow to accommodate the content. We then set our text area
      * to the resulting height.
      */
     autoSize: function() {
         this.el.beginMeasure();
         this.proxyEl.setWidth(this.el.getWidth(true));
         this.el.endMeasure();
         this.proxyEl.moveTo(-10000, -10000);

         this.proxyEl.dom.innerHTML =
  >>>>>        this.el.dom.value.htmlEncode().replace(/[\n]/g, "<br  
/>&nbsp;");

         this.proxyEl.beginMeasure();
         var newHeight = Math.max(this.minHeight,
                                  this.proxyEl.getHeight(true)
                                  + this.el.getBorderWidth('tb')
                                  + this.el.getPadding('tb'));
         this.proxyEl.endMeasure();

         this.el.setHeight(newHeight);

         this.fireEvent('resize', this);
     }
});


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To post to this group, send email to reviewboard-issues@googlegroups.com
To unsubscribe from this group, send email to 
reviewboard-issues+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard-issues?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to