...

View Full Version : Scriptaculous in place editor cancel



yumiu
10-25-2009, 08:39 PM
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

ohgod
10-26-2009, 03:20 PM
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?



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum