Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
comment.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Nov 2013 at 02:06 UTC
Updated:
29 Jul 2014 at 23:07 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
wesleydv commentedThis patch fixes the issue by not updating form['#title'] when the request is called via ajax.
Not sure if this is the correct way of fixing this :)
Comment #2
larowlanWe will need to add a test here, thanks for the fix though.
Comment #3
larowlanadds tests and a non path-based fix
Comment #5
chx commentedThere must be a better way to test whether we are in an AJAX request than messing with paths.
Comment #6
larowlannow with 90% less yuck
Comment #7
chx commentedThis is nice. I have fixed such a minor issue in the test that you can't say I have RTBC'd my own: replaced assertFalse(empty with assertTrue
Comment #8
webchickNice. I just hit this today in prepping for a demo, only to find an RTBC patch waiting. :D
Committed and pushed to 8.x. Thanks!