Problem: Editing posts or comments results in an error: $.form is not defined. It appears that the addition of $.form that Chatter performs in chatter.js is not being processed in time to be used.
Fix: In chatter.js, I moved the declaration of $.form into the $('document').ready(function(){ block so that it would be loaded when the DOM loads, ensuring that jQuery is fully loaded and ready to go before this definition occurs.
I am not sure how this lines up with future goals for this package, but it can be considered a hotfix for now, if the eventual goal is to refactor away from the $.form method.
Addresses #129
Problem: Editing posts or comments results in an error:
$.form is not defined
. It appears that the addition of$.form
that Chatter performs inchatter.js
is not being processed in time to be used.Fix: In
chatter.js
, I moved the declaration of$.form
into the$('document').ready(function(){
block so that it would be loaded when the DOM loads, ensuring that jQuery is fully loaded and ready to go before this definition occurs.I am not sure how this lines up with future goals for this package, but it can be considered a hotfix for now, if the eventual goal is to refactor away from the
$.form
method.