From fd94e1ea933e26af6a3437843dcabf0ef6e7eb76 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Fri, 13 Nov 2009 13:38:07 -0700 Subject: [PATCH] Disable compose textarea when converting from HTML --- imp/js/compose-dimp.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/imp/js/compose-dimp.js b/imp/js/compose-dimp.js index 98d8a8ec5..3c1a5e1c8 100644 --- a/imp/js/compose-dimp.js +++ b/imp/js/compose-dimp.js @@ -355,8 +355,11 @@ var DimpCompose = { text = this.rte.getData(); $('composeMessageParent').childElements().invoke('hide'); $('composeMessage').show().setStyle({ visibility: null }).focus(); + this.RTELoading('show'); DimpCore.doAction('Html2Text', { text: text }, { callback: this.setMessageText.bind(this), ajaxopts: { asynchronous: false } }); + + this.RTELoading('hide'); } else { this.editor_on = true; if (!noupdate) { -- 2.11.0