[buddypress-trac] [BuddyPress] #3611: Activity update UI doesn't really work with javascript disabled

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Fri Sep 30 21:09:58 UTC 2011


#3611: Activity update UI doesn't really work with javascript disabled
--------------------------+-----------------------
 Reporter:  boonebgorges  |       Owner:  DJPaul
     Type:  defect        |      Status:  assigned
 Priority:  normal        |   Milestone:  1.5.1
Component:  Activity      |     Version:  1.5
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+-----------------------

Comment (by boonebgorges):

 So, the trade-off here is that we get a little flicker, when the page is
 rendering but before $(document).ready() is fired, where the button shows.

 We could work around it in a couple different ways. One is to output the
 necessary js directly after the form is rendered. See 3611-2.patch. It's
 done with a hook, so we don't have to clutter up the templates.

 A similar approach is to hide it by default with CSS, and then to output
 some inline CSS to show it, wrapped in <noscript> tags.

 Neither is really beautiful, or has quite the elegance of Paul's solution,
 but it does *look* a bit better. Thoughts?

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/3611#comment:3>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list