6.0.0-alpha12
6/8/25

[#6768] IMP not defined in javascript
Summary IMP not defined in javascript
Queue IMP
Queue Version 4.2
Type Bug
State Not A Bug
Priority 2. Medium
Owners
Requester spiro (at) knossos (dot) net (dot) nz
Created 05/27/2008 (6221 days ago)
Due
Updated 05/27/2008 (6221 days ago)
Assigned
Resolved 05/27/2008 (6221 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
05/27/2008 10:15:29 PM Chuck Hagenbuch Comment #3
State ⇒ Not A Bug
Reply to this comment
If you have local modifications it's basically impossible for us to 
help you when we don't know about them. Please make sure any further 
bug reports include relevant info like this.
05/27/2008 10:13:26 PM spiro (at) knossos (dot) net (dot) nz Comment #2 Reply to this comment
issue resolved:



I had modified the common-header.inc templates to include our company logo.



The new version of horde/imp had new template files with quite a few 
modifications.



once I put back the originals as came with the distro, sending mail 
worked again.


05/27/2008 09:49:30 PM spiro (at) knossos (dot) net (dot) nz Comment #1
Priority ⇒ 2. Medium
Patch ⇒ No
Milestone ⇒
Queue ⇒ IMP
Summary ⇒ IMP not defined in javascript
Type ⇒ Bug
State ⇒ Unconfirmed
Reply to this comment
After having upgraded to IMP 4.2 final, I am not able to compose 
emails. The 'send message' button is not working, nor is the 'save 
draft' button.



I have installed Firebug for Firefox, and the following error comes up 
when I click on 'send message':



"IMP is not defined

uniqSubmit("send_message", click clientX=0, clientY=0)compose.js (line 1)

onclick(click clientX=0, clientY=0)"

(then includes compose.js code)



I changed the compose_popup to 0, and I still get the error, but I 
also get a similar one BEFORE the compose screen comes up:



"IMP is not defined (mailbox.js)

var keyId,startrange=null;function anySelected(){return 
$H(messagelist).keys().d..."



when IMP loads, I get 6 of these, all with different charCodes:



enter_key_trap is not defined

submit_login(keypress charCode=115, keyCode=0)login.php (line 29)

if (typeof e != 'undefined' && !enter_key_trap(e)) {



I'm not sure if these are significant, but thought I'd mention them.


Saved Queries