2 users responded in this post

Subscribe to this post comment rss
User Gravatar
mistafi - 8 mai 2013 @ 17:33 :

I have looked at a lot of solutions to the wpadder.js problem, and yours, by far, seems to be the best.

Currently, I am trying to implement a solution similarly for this wpadder.js issue:

Uncaught TypeError: Cannot call method 'add' of undefined

Many other solutions call for the use of edit panels, which is not so elegant when you are using scripts that affect the layout like jQuery Mobile.

Do you see any way to utilize a solution like yours to "fix" Sharepoint's poor coding in my current wpadder.js situation?

What sort of solution have you worked on to address this?

Again, very clever! Thank you for your help in advance!

User Gravatar
Aymeric - 13 mai 2013 @ 11:37 :

Hi mistafi. Sorry for the delay on reply but I was on vacation 🙂

To find the problem with wpadder.js I've had to find where the error was raised (with the developer toolbar of IE you can find which part of the code raised the error) then I search the full code in the original file and I overwrite it trying to find where the problem is (with the alert javascript function) and I go up thru the parent functions until I found where the problem really is. It's not easy, and it's a very long process...

When I'm lucky the problem appears also with Firefox and I can use Firebug to quickly find the root and fix it !

Leave A Reply

Les commentaires sont modérés. Ainsi le vôtre n'apparaîtra qu'après validation.

 Username (Required)

 Email Address (Remains Private)

 Website (Optional)


XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>