[buddypress-trac] [BuddyPress Trac] #5833: What's new activity update failing on undefined js var
buddypress-trac
noreply at wordpress.org
Sat Aug 23 14:57:14 UTC 2014
#5833: What's new activity update failing on undefined js var
--------------------------+-----------------------------
Reporter: hnla | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Core | Version:
Severity: major | Keywords: dev-feedback
--------------------------+-----------------------------
Attempting to post an activity update is failing due to var ltext being
undefined.
We appear to have re-factored a section of js for activity stream updates
lines: 184 through to 190.
line 190 `if ( ltext !== '' ) {`
was `!=` and it was declared earlier as `var ltext = jq('#activity-stream
li.new-upd...`
This now hangs on undefined variable after submitting the update.
Strict type comparison or 'null' doesn't change matters so to get running
I've declared the variable before L:184 if block.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5833>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list