Add Comments "Block " is only shown on initial load of a node (loading bar). If i go to a content node (1), then go to another node (2) and open the first node (1) again then the "Add Comments Block" does not load/appear. (no loading bar)

Comments

tyler.frankenstein’s picture

Status: Active » Postponed (maintainer needs more info)

I believe this was fixed long ago. Please confirm you are running the latest bin/drupalgap.js file. If it doesn't work, then add this line of code:

form.id += '_' + comment.nid;

here:

https://github.com/signalpoint/DrupalGap/blob/7.x-1.x/src/modules/commen...

debain’s picture

Thank you. Yes. I downloaded it from github again now. It does not work. Inserting the line does not work.
Maybe I am missing something or it is the hardware or something else. I think i have to check the complete setup if this should work.

tyler.frankenstein’s picture

Did you run the makefile to build the new bin/drupalgap.js after making the change in the src/ directory? http://drupalgap.org/node/224

If not, you can just edit the bin/drupalgap.js file directly.

debain’s picture

Ah ok, sorry, didn't know that.
Now it is working with the line inserted.
Thank you for the great support!

tyler.frankenstein’s picture

Status: Postponed (maintainer needs more info) » Needs work

Thanks for confirming. This code needs to be migrated into the src/ of the DrupalGap SDK, then this issue can be closed.