No guru with jquery so please let me know if I have erm, messed this up is the polite way of putting it! 🙂
I am running a few sites on the 4.6.1 WordPress network version on Ubuntu with PHP v. 7.0.8.
Problems appeared with Chrome Version 54.0.2840.71 m, IE 11 and Edge on Windows 10.
1. Oops not logged in blah blah.
2. Wouldn’t post when Submit button clicked.
After much searching, I came across a problem with the response in p2.js isUserLoggedIn at the 120’s line where the response had a space in front of it e.g. ‘ logged_in’. I just added a trim (
response = $.trim(response)) and it worked fine. No more oops.
When the submit button was clicked it just sat there. Did nothing. Didn’t go off to a URL of any kind. Nadda. Zip. Nowt. So after much more digging, I found (now please note I am no guru with jquery) that down at the lines around 1000 again at isUserLoggedIn then at the line containing:
if ( 'prop' in thisFormElements )I addded this:
which resulted in two lines of:
var $thisDoesNotWork; thisFormElements.prop( 'disabled', false );
and guess what. The damn thing posted the comment and showed up as it should. Go figure.
Please note: To all those users who think that just making these changes will fix their problems, DON’T! Not unless you know what you are doing (must take my own advice sometime). Make backups and check the forums for alternative answers first. This may just be related to my own installation and may not necessarily work with yours.
As I started this post with Please let me know if….. Please! let me know!!
- You must be logged in to reply to this topic.