Hi, This test script will help to understand my question:
http://www.atutor.ca/atutor/test/test.html The lines on the page are either toggles to expand/collapse the tree or links to redirect the page. By clicking the icon at the top right corner, the fluid inline editor is applied and all the lines become editable. My question is how to use javascript, not refreshing page, to turn off the inline editor when clicking the icon at the top right corner again, which means all the lines are reverted back to toggles or links. One suggestion I received (thanks to Justin and Colin) is to return false at event "onBeginEdit". But it only prevents the inline editor from going into the edit mode. All the inline editor features like mouseover, background color change are still in place and the lines lose the functionalities of being toggles/links. The best I hope to achieve is to revert the page back to the initial state without the inline editor. Is this possible? Another way I was trying is to remove the objects/attributes/events that are added fluid.inlineEdits but seems never be able to clean up all. I end up with the this test page. Thanks. - Cindy from ATutor team -- View this message in context: http://www.nabble.com/How-to-turn-off-inline-editor-tp25372202p25372202.html Sent from the Fluid - Work mailing list archive at Nabble.com. _______________________________________________________ fluid-work mailing list - [email protected] To unsubscribe, change settings or access archives, see http://fluidproject.org/mailman/listinfo/fluid-work
