TrevC
Well-known member
I'm hoping someone here who's more knowledgeable with Xenforo JS can point me in the right direction. I can't figure out what's causing this error after trying to watch or un-watch a thread:
That's from Firebug, Chrome's console shows:
The ajax indicator then remains visible, and the watch/unwatch button text does not toggle.
I can reproduce this any time I do "Watch thread" then confirm within the dialog overlay. Un-watching a thread triggers the same error.
I'm afraid I've removed something from the templates which the Xenforo JS is referencing, but I have no idea what it could be. I've reverted many of the custom templates to originals for troubleshooting and had no luck.
What could I be missing here? What is that JS looking for and not finding?
Reverting to the completely stock Xenforo theme sorts it out, it works fine. I've gone as far as reverting all my custom templates right down to the page_container and still hit the same error.
Any pointers would be much appreciated. Thanks
Code:
TypeError: this.$form.parents(".xenOverlay").data("overlay") is undefined
Code:
Uncaught TypeError: Cannot call method 'getTrigger' of undefined
The ajax indicator then remains visible, and the watch/unwatch button text does not toggle.
I can reproduce this any time I do "Watch thread" then confirm within the dialog overlay. Un-watching a thread triggers the same error.
I'm afraid I've removed something from the templates which the Xenforo JS is referencing, but I have no idea what it could be. I've reverted many of the custom templates to originals for troubleshooting and had no luck.
What could I be missing here? What is that JS looking for and not finding?
Reverting to the completely stock Xenforo theme sorts it out, it works fine. I've gone as far as reverting all my custom templates right down to the page_container and still hit the same error.
Any pointers would be much appreciated. Thanks