Inline Editing.

Shadow121

Member
Messages
901
Reaction score
0
Points
16
I've managed to get my previous bug fixed, but a new one appeared after fixing it. I could click the div, and have it open up, but, when you click in the text box and try to type, it is disabled. When you click it a second time, and try to edit/save it will work fine. Could someone help with this?

Here is the JS file

http://cms.bradfordwebcreation.com/assets/js/editable.js

Thanks in advance.
 

misson

Community Paragon
Community Support
Messages
2,572
Reaction score
72
Points
48
When you're developing, use the debug versions of jQuery and jQuery plugins. It's basically impossible to debug the compact versions, since debuggers are line-oriented.

What it looks like is that you don't make the content element editable until after the click event, so the necessary event handler that switches from an element to and edit field is never invoked. Either make the element an editable sooner, or refire the click event.
 
Top