[Tickets #11251] Re: Blank pages when using popup windows

bugs at horde.org bugs at horde.org
Tue Jul 10 06:07:04 UTC 2012


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/11251
------------------------------------------------------------------------------
  Ticket             | 11251
  Updated By         | leena.heino at uta.fi
  Summary            | Blank pages when using popup windows
  Queue              | IMP
  Version            | Git develop
  Type               | Bug
  State              | Feedback
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


leena.heino at uta.fi (2012-07-10 06:07) wrote:

There is still this problem with javascript which prevents compose  
screen from working properly:
Error 2: Uncaught TypeError: Object #<Object> has no method 'size'
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($('msg_other_options').down('A'),  
'msg_other', {
                  trigger: true
              });






More information about the bugs mailing list