Opened 3 years ago

Closed 3 years ago

#1486725 closed Bugs (fixed)

"fileuploaderror" from app.js overrides "filesizeerror" from attachments.inc

Reported by: timo Owned by:
Priority: 5 Milestone: 0.4-stable
Component: User Interface Version: git-master
Severity: trivial Keywords: attachment upload error
Cc:

Description

When uploading an attachment too big I always get the "fileuploaderror" error message even though attachments.inc tries to show the "filesizeerror".

By commenting out this line from app.js I can see the filesizeerror:
rcmail.display_message(rcmail.get_label('fileuploaderror'), 'error');

I would prefer to see the "filesizeerror" from attachments.inc as it is more informative.

Change History (2)

comment:1 Changed 3 years ago by alec

  • Milestone changed from later to 0.4-stable

comment:2 Changed 3 years ago by alec

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in [87a8685f]

Note: See TracTickets for help on using tickets.