Summary | Blank pages when using popup windows |
Queue | IMP |
Queue Version | Git develop |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | jan (at) horde (dot) org, slusarz (at) horde (dot) org |
Requester | leena.heino (at) uta (dot) fi |
Created | 07/09/2012 (4744 days ago) |
Due | |
Updated | 11/15/2012 (4615 days ago) |
Assigned | 07/09/2012 (4744 days ago) |
Resolved | 07/10/2012 (4743 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
if (DimpCore.conf.flist) {
this.createPopdown('sm', {
base: 'save_sent_mail',
data: DimpCore.conf.flist,
input: 'save_sent_mail_mbox',
label: 'sent_mail_label'
});
this.setPopdownLabel('sm',
ImpComposeBase.identities[$F('identity')].sm_name);
}
while uncomment this part, all works fine.
message link. Only the "Loading..." 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.
commit d218becb3ae3d69daeaedcef25a229d052ec51b4
Author: Michael M Slusarz <slusarz@horde.org>
Date: Tue Jul 10 00:19:25 2012 -0600
Another fix for
Bug #11251imp/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
commit 0d1f5587f8ff1d2ab31bf3191c38fa1f60a214cf
Author: Michael M Slusarz <slusarz@horde.org>
Date: Mon Jul 9 23:08:41 2012 -0600
Correctly fix
Bug #11251: previous fix broke compose screenimp/js/compose-dimp.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
http://git.horde.org/horde-git/-/commit/0d1f5587f8ff1d2ab31bf3191c38fa1f60a214cf
commit 9abe9c04a9fad8addd5791e018769e5735dcf50e
Author: Jan Schneider <jan@horde.org>
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
compose messages and view messages in popup window.
Assigned to Michael Slusarz
State ⇒ Resolved
commit d218becb3ae3d69daeaedcef25a229d052ec51b4
Author: Michael M Slusarz <slusarz@horde.org>
Date: Tue Jul 10 00:19:25 2012 -0600
Another fix for
Bug #11251imp/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
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
});
commit 0d1f5587f8ff1d2ab31bf3191c38fa1f60a214cf
Author: Michael M Slusarz <slusarz@horde.org>
Date: Mon Jul 9 23:08:41 2012 -0600
Correctly fix
Bug #11251: previous fix broke compose screenimp/js/compose-dimp.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
http://git.horde.org/horde-git/-/commit/0d1f5587f8ff1d2ab31bf3191c38fa1f60a214cf
commit 9abe9c04a9fad8addd5791e018769e5735dcf50e
Author: Jan Schneider <jan@horde.org>
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
File: message-dimp.js
Line: 327
Code: $('dimpLoading').hide();
dimpLoading DIV in your compose window, your setup is broken.
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 "dimpLoading".
File: compose-dimp.js
Line: 1127
Code: if (DimpCore.context.ctx_msg_other.size()) {
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 "Loading...".
dimpLoading DIV in your compose window, your setup is broken.
File: compose-dimp.js
Line: 1127
Code: if (DimpCore.context.ctx_msg_other.size()) {
#11248#11249Error 1: Uncaught TypeError: Cannot call method 'hide' of null
File: message-dimp.js
Line: 327
Code: $('dimpLoading').hide();
Error 2: Uncaught TypeError: Object #<Object> has no method 'size'
File: compose-dimp.js
Line: 1127
Code: if (DimpCore.context.ctx_msg_other.size()) {
State ⇒ Feedback
#11248#11249Priority ⇒ 1. Low
State ⇒ Unconfirmed
Patch ⇒ No
Milestone ⇒
Summary ⇒ Blank pages when using popup windows
Type ⇒ Bug
Queue ⇒ IMP
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#11249Tested system: RHEL 6.2 (php 5.3.3 + RHEL patches)
Tested browsers: IE 9, Firefox 13.0.1, Opera 12, Chrome 20