#5528 closed defect (bug) (fixed)
Javascript error on Activity stream.
| Reported by: | pross | Owned by: | imath |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.0 |
| Component: | Activity | Version: | 2.0 |
| Severity: | normal | Keywords: | has-patch |
| Cc: |
Description
Using latest beta and trunk on a fresh install using 2014 theme.
If there is no activity already posted you get the following error when you click submit.
Uncaught TypeError: Cannot call method 'match' of undefined
Included patch fixes the error.
Attachments (1)
Change History (5)
#3
follow-up:
↓ 4
@
12 years ago
I know this is a little late, but perhaps instead of using the CSS class to look for new activities, we should use HTML5's data- attribute. (eg. data-activity-recorded="...").
Maybe in 2.1?
#4
in reply to: ↑ 3
@
12 years ago
Replying to r-a-y:
I know this is a little late, but perhaps instead of using the CSS class to look for new activities, we should use HTML5's
data-attribute. (eg.data-activity-recorded="...").
Maybe in 2.1?
I wrongly thought about backcompat with theme, but as it's not available in BP Default, i guess you're right ;)
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Nice catch @pross