<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>Blank pages when using popup windows</title> 
  <pubDate>Fri, 10 Apr 2026 19:28:19 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/11251</link> 
  <atom:link rel="self" type="application/rss+xml" title="Blank pages when using popup windows" href="https://bugs.horde.org/ticket/11251/rss" /> 
  <description>Blank pages when using popup windows</description> 
 
   
   
  <item> 
   <title>Compose window only shows text: &quot;Loading...&quot;

If message i</title> 
   <description>Compose window only shows text: &quot;Loading...&quot;

If message is opened in a new window it is shown as blank.

In both cases the text of the window can be read using View Source. So the page seems to load ok, but still nothing is shown.

These errors might be related to javascript errors reported on: #11248 #11249

Tested system: RHEL 6.2 (php 5.3.3 + RHEL patches)
Tested browsers: IE 9, Firefox 13.0.1, Opera 12, Chrome 20</description> 
   <pubDate>Mon, 09 Jul 2012 15:08:52 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11251#t71753</link> 
  </item> 
   
  <item> 
   <title>&gt; These errors might be related to javascript errors reporte</title> 
   <description>&gt; These errors might be related to javascript errors reported on: #11248 #11249

Why? Do you get those error messages when loading the compose window?</description> 
   <pubDate>Mon, 09 Jul 2012 15:17:54 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11251#t71757</link> 
  </item> 
   
  <item> 
   <title>&gt;&gt; These errors might be related to javascript errors report</title> 
   <description>&gt;&gt; These errors might be related to javascript errors reported on: 
&gt;&gt; #11248 #11249
&gt;
&gt; Why? Do you get those error messages when loading the compose window?

This situation with blank pages are cause by two errors in javascript code.

Error 1: Uncaught TypeError: Cannot call method &#039;hide&#039; of null
File: message-dimp.js
Line: 327
Code: $(&#039;dimpLoading&#039;).hide();

Error 2: Uncaught TypeError: Object #&lt;Object&gt; has no method &#039;size&#039;
File: compose-dimp.js
Line: 1127
Code: if (DimpCore.context.ctx_msg_other.size()) {</description> 
   <pubDate>Mon, 09 Jul 2012 18:59:22 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11251#t71781</link> 
  </item> 
   
  <item> 
   <title>&gt;&gt;&gt; These errors might be related to javascript errors repor</title> 
   <description>&gt;&gt;&gt; These errors might be related to javascript errors reported on:
&gt;&gt;&gt; #11248 #11249
&gt;&gt;
&gt;&gt; Why? Do you get those error messages when loading the compose window?
&gt;
&gt; This situation with blank pages are cause by two errors in javascript code.
&gt;
&gt; Error 1: Uncaught TypeError: Cannot call method &#039;hide&#039; of null
&gt; File: message-dimp.js
&gt; Line: 327
&gt; Code: $(&#039;dimpLoading&#039;).hide();

This had been fixed before the release. If you don&#039;t have the dimpLoading DIV in your compose window, your setup is broken.

&gt; Error 2: Uncaught TypeError: Object #&lt;Object&gt; has no method &#039;size&#039;
&gt; File: compose-dimp.js
&gt; Line: 1127
&gt; Code: if (DimpCore.context.ctx_msg_other.size()) {

DimpCore.context.ctx_msg_other is *always* set in the compose window.</description> 
   <pubDate>Mon, 09 Jul 2012 19:15:06 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11251#t71783</link> 
  </item> 
   
  <item> 
   <title>&gt;&gt; Error 1: Uncaught TypeError: Cannot call method &#039;hide&#039; of</title> 
   <description>&gt;&gt; Error 1: Uncaught TypeError: Cannot call method &#039;hide&#039; of null
&gt;&gt; File: message-dimp.js
&gt;&gt; Line: 327
&gt;&gt; Code: $(&#039;dimpLoading&#039;).hide();
&gt;
&gt; This had been fixed before the release. If you don&#039;t have the 
&gt; dimpLoading DIV in your compose window, your setup is broken.

Yes, the compose window does have that DIV ( /imp/dynamic.php?page=compose )

The problem is when trying to open a single message in a new window then that new window  ( /imp/dynamic.php?page=message ) does not have DIV section named &quot;dimpLoading&quot;.

&gt;&gt; Error 2: Uncaught TypeError: Object #&lt;Object&gt; has no method &#039;size&#039;
&gt;&gt; File: compose-dimp.js
&gt;&gt; Line: 1127
&gt;&gt; Code: if (DimpCore.context.ctx_msg_other.size()) {
&gt;
&gt; DimpCore.context.ctx_msg_other is *always* set in the compose window.

You are right, DimpCore.context.ctx_msg_other is always set. But the error is that it does not seem to have method size().

Errors 1 and 2 cause message popup window to be shown as blank.
Error 2 makes compose window show just text &quot;Loading...&quot;.</description> 
   <pubDate>Mon, 09 Jul 2012 20:15:25 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11251#t71785</link> 
  </item> 
   
  <item> 
   <title>&gt;&gt;&gt; Error 2: Uncaught TypeError: Object #&lt;Object&gt; has no met</title> 
   <description>&gt;&gt;&gt; Error 2: Uncaught TypeError: Object #&lt;Object&gt; has no method &#039;size&#039;
&gt;&gt;&gt; File: compose-dimp.js
&gt;&gt;&gt; Line: 1127
&gt;&gt;&gt; Code: if (DimpCore.context.ctx_msg_other.size()) {
&gt;&gt;
&gt;&gt; DimpCore.context.ctx_msg_other is *always* set in the compose window.
&gt;
&gt; You are right, DimpCore.context.ctx_msg_other is always set. But the 
&gt; error is that it does not seem to have method size().

To what is it set?</description> 
   <pubDate>Mon, 09 Jul 2012 20:28:24 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11251#t71786</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git (develop):

commit 9abe9c04a9f</title> 
   <description>Changes have been made in Git (develop):

commit 9abe9c04a9fad8addd5791e018769e5735dcf50e
Author: Jan Schneider &lt;jan@horde.org&gt;
Date:   Mon Jul 9 22:27:26 2012 +0200

    Fix JS errors (Bug #11251).

 imp/docs/CHANGES                       |    1 +
 imp/js/compose-dimp.js                 |    2 +-
 imp/package.xml                        |    2 ++
 imp/templates/dynamic/message.html.php |    4 ++++
 4 files changed, 8 insertions(+), 1 deletions(-)

http://git.horde.org/horde-git/-/commit/9abe9c04a9fad8addd5791e018769e5735dcf50e</description> 
   <pubDate>Mon, 09 Jul 2012 20:28:56 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11251#t71787</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git (develop):

commit 0d1f5587f8f</title> 
   <description>Changes have been made in Git (develop):

commit 0d1f5587f8ff1d2ab31bf3191c38fa1f60a214cf
Author: Michael M Slusarz &lt;slusarz@horde.org&gt;
Date:   Mon Jul 9 23:08:41 2012 -0600

    Correctly fix Bug #11251: previous fix broke compose screen

 imp/js/compose-dimp.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

http://git.horde.org/horde-git/-/commit/0d1f5587f8ff1d2ab31bf3191c38fa1f60a214cf</description> 
   <pubDate>Tue, 10 Jul 2012 05:35:16 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11251#t71797</link> 
  </item> 
   
  <item> 
   <title>There is still this problem with javascript which prevents c</title> 
   <description>There is still this problem with javascript which prevents compose screen from working properly:
Error 2: Uncaught TypeError: Object #&lt;Object&gt; has no method &#039;size&#039;
File: compose-dimp.js
Line: 1127
Code: if (DimpCore.context.ctx_msg_other.size()) {

Simple fix is to remove the size() method call as that method does not exist:
--- compose-dimp.js.orig        2012-07-10 08:54:14.979028558 +0300
+++ compose-dimp.js     2012-07-10 08:57:36.439150927 +0300
@@ -1124,7 +1124,7 @@
             callback: this.uniqueSubmitCallback.bind(this)
         });
 
-        if (DimpCore.context.ctx_msg_other.size()) {
+        if (DimpCore.context.ctx_msg_other) {
             DimpCore.addPopdown($(&#039;msg_other_options&#039;).down(&#039;A&#039;), &#039;msg_other&#039;, {
                 trigger: true
             });
</description> 
   <pubDate>Tue, 10 Jul 2012 06:07:04 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11251#t71802</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git (develop):

commit d218becb3ae</title> 
   <description>Changes have been made in Git (develop):

commit d218becb3ae3d69daeaedcef25a229d052ec51b4
Author: Michael M Slusarz &lt;slusarz@horde.org&gt;
Date:   Tue Jul 10 00:19:25 2012 -0600

    Another fix for Bug #11251

 imp/js/compose-dimp.js             |    2 +-
 imp/lib/Dynamic/Compose/Common.php |    6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

http://git.horde.org/horde-git/-/commit/d218becb3ae3d69daeaedcef25a229d052ec51b4</description> 
   <pubDate>Tue, 10 Jul 2012 07:09:16 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11251#t71804</link> 
  </item> 
   
  <item> 
   <title>Thank you. The compose and popup windows now work and I&#039;m ab</title> 
   <description>Thank you. The compose and popup windows now work and I&#039;m able to compose messages and view messages in popup window.</description> 
   <pubDate>Tue, 10 Jul 2012 07:26:28 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11251#t71806</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git (master):

commit 9abe9c04a9fa</title> 
   <description>Changes have been made in Git (master):

commit 9abe9c04a9fad8addd5791e018769e5735dcf50e
Author: Jan Schneider &lt;jan@horde.org&gt;
Date:   Mon Jul 9 22:27:26 2012 +0200

    Fix JS errors (Bug #11251).

 imp/docs/CHANGES                       |    1 +
 imp/js/compose-dimp.js                 |    2 +-
 imp/package.xml                        |    2 ++
 imp/templates/dynamic/message.html.php |    4 ++++
 4 files changed, 8 insertions(+), 1 deletions(-)

http://git.horde.org/horde-git/-/commit/9abe9c04a9fad8addd5791e018769e5735dcf50e</description> 
   <pubDate>Wed, 29 Aug 2012 12:40:57 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11251#t72547</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git (master):

commit 0d1f5587f8ff</title> 
   <description>Changes have been made in Git (master):

commit 0d1f5587f8ff1d2ab31bf3191c38fa1f60a214cf
Author: Michael M Slusarz &lt;slusarz@horde.org&gt;
Date:   Mon Jul 9 23:08:41 2012 -0600

    Correctly fix Bug #11251: previous fix broke compose screen

 imp/js/compose-dimp.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

http://git.horde.org/horde-git/-/commit/0d1f5587f8ff1d2ab31bf3191c38fa1f60a214cf</description> 
   <pubDate>Wed, 29 Aug 2012 12:41:13 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11251#t72551</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git (master):

commit d218becb3ae3</title> 
   <description>Changes have been made in Git (master):

commit d218becb3ae3d69daeaedcef25a229d052ec51b4
Author: Michael M Slusarz &lt;slusarz@horde.org&gt;
Date:   Tue Jul 10 00:19:25 2012 -0600

    Another fix for Bug #11251

 imp/js/compose-dimp.js             |    2 +-
 imp/lib/Dynamic/Compose/Common.php |    6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

http://git.horde.org/horde-git/-/commit/d218becb3ae3d69daeaedcef25a229d052ec51b4</description> 
   <pubDate>Wed, 29 Aug 2012 12:41:25 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11251#t72554</link> 
  </item> 
   
  <item> 
   <title>I still get a blank page in the dynamic view by using the co</title> 
   <description>I still get a blank page in the dynamic view by using the compose new message link. Only the &quot;Loading...&quot; hint is shown. New message sending ist not possible.
No js or css error is shown in firebug.


By fowarding or answering to a message the content of the forwarded/answered message ist not shown. While sending this mail the content is part of the mail.

</description> 
   <pubDate>Thu, 15 Nov 2012 14:17:08 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11251#t74816</link> 
  </item> 
   
  <item> 
   <title>there seams to be a bug in compose-dimp.js row 1136ff

if </title> 
   <description>there seams to be a bug in compose-dimp.js row 1136ff

if (DimpCore.conf.flist) {
            this.createPopdown(&#039;sm&#039;, {
                base: &#039;save_sent_mail&#039;,
                data: DimpCore.conf.flist,
                input: &#039;save_sent_mail_mbox&#039;,
                label: &#039;sent_mail_label&#039;
            });
            this.setPopdownLabel(&#039;sm&#039;, ImpComposeBase.identities[$F(&#039;identity&#039;)].sm_name);
        }

while uncomment this part, all works fine.

</description> 
   <pubDate>Thu, 15 Nov 2012 16:57:01 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11251#t74829</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
