#5528 closed defect (bug) (fixed)
Javascript error on Activity stream.
Reported by: | pross | Owned by: | imath |
---|---|---|---|
Milestone: | 2.0 | Priority: | normal |
Severity: | normal | Version: | 2.0 |
Component: | Activity | 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)
#2
@
10 years ago
- Owner set to imath
- Resolution set to fixed
- Status changed from new to closed
In 8264:
#3
follow-up:
↓ 4
@
10 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
@
10 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 ;)
Nice catch @pross