Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Oct 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Scriptaculous in place editor cancel

    Hi,

    I am playing with Ajax.InPlaceEditor
    I hide some elements in editMode:function(id){
    $('some-element').hide()
    ......
    }
    So when I click on edit, 'some-element' is hidden.
    But when I click on 'cancel', I want to show the 'some-element'.

    How can I do this?
    Thanks in advance!

    yumiu

  • #2
    Regular Coder ohgod's Avatar
    Join Date
    Jun 2008
    Location
    Ohio
    Posts
    579
    Thanks
    6
    Thanked 69 Times in 69 Posts
    are you making these edits in the scriptaculous controls.js?

    and by
    I hide some elements in editMode:function(id){
    $('some-element').hide()
    ......
    }
    do you mean "enterEditMode", or what are you putting that?


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •