Opened 7 years ago
Closed 7 years ago
#1483957 closed Bugs (fixed)
Alert box after uploading attachment
| Reported by: | fjgm | Owned by: | |
|---|---|---|---|
| Priority: | 5 | Milestone: | |
| Component: | Interface | Version: | 0.1-beta2 |
| Severity: | trivial | Keywords: | |
| Cc: |
Description
Actually it doesn't seem to be a bug, but more of a debugging flag which was not removed.
After attaching a file in the compose window an alert box appears with the HTML content which is about to be added to the page.
It is related to the javascript function:
this.add2attachment_list = function(name, content)
{
if (!this.gui_objects.attachmentlist)
return false;
alert(content);
var li = document.createElement('LI');
li.id = name;
li.innerHTML = content;
this.gui_objects.attachmentlist.appendChild(li);
return true;
};
This behaviour was easily "fix" (not really) by commenting out (or removing) the alert:
this.add2attachment_list = function(name, content)
{
if (!this.gui_objects.attachmentlist)
return false;
//alert(content);
var li = document.createElement('LI');
li.id = name;
li.innerHTML = content;
this.gui_objects.attachmentlist.appendChild(li);
return true;
};
File: ./program/js/app.js Version: 0.1Beta2
Change History (1)
comment:1 Changed 7 years ago by mtu
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.

This behaviour is apparently gone in SVN-322.