e.stop();
return;
} else if (elt.hasClassName('printAtc')) {
- DimpCore.popupWindow(DimpCore.addURLParam(DIMP.conf.URI_VIEW, { uid: this.pp.imapuid, mailbox: this.pp.view, actionID: 'print_attach', id: elt.getAttribute('mimeid') }, true), this.pp.imapuid + '|' + this.pp.view + '|print', IMP.printWindow);
+ DimpCore.popupWindow(DimpCore.addURLParam(DIMP.conf.URI_VIEW, { uid: this.pp.imapuid, mailbox: this.pp.view, actionID: 'print_attach', id: elt.readAttribute('mimeid') }, true), this.pp.imapuid + '|' + this.pp.view + '|print', IMP.printWindow);
e.stop();
return;
}
/* Logic: Determine the size of a given textarea row, divide that
* size by the available height, round down to the lowest integer
* row, and resize the textarea. */
- rows = parseInt(mah / (msg.clientHeight / msg.getAttribute('rows')), 10);
+ rows = parseInt(mah / (msg.clientHeight / msg.readAttribute('rows')), 10);
if (!isNaN(rows)) {
msg.writeAttribute({ rows: rows, disabled: false });
if (de.scrollHeight - de.clientHeight) {
default:
if (elt.hasClassName('printAtc')) {
- DimpCore.popupWindow(DimpCore.addURLParam(DIMP.conf.URI_VIEW, { uid: this.uid, mailbox: this.mailbox, actionID: 'print_attach', id: elt.getAttribute('mimeid') }, true), this.uid + '|' + this.mailbox + '|print', IMP.printWindow);
+ DimpCore.popupWindow(DimpCore.addURLParam(DIMP.conf.URI_VIEW, { uid: this.uid, mailbox: this.mailbox, actionID: 'print_attach', id: elt.readAttribute('mimeid') }, true), this.uid + '|' + this.mailbox + '|print', IMP.printWindow);
e.stop();
return;
}