Modify ↓
Ticket #6357 (closed bug: invalid)
Crash in firefox
| Reported by: | souse | Owned by: | |
|---|---|---|---|
| Priority: | Milestone: | 1.4.3 | |
| Component: | unfiled | Version: | 1.4.2 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
var objImgAvatar = $("#imgReceiverAvatar");
if(receiverOnlineUid == 0) {
objImgAvatar.attr("src", "images/anybody_avatar.gif");
} else {
this line will be crashed
objImgAvatar.attr("src", "usr/get_avatar.php?online_uid=" + receiverOnlineUid);
this line work fine
$("#imgReceiverAvatar").attr("src", "usr/get_avatar.php?online_uid=" + receiverOnlineUid);
}
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

Please reopen with a complete test case.