I am trying to force the InPlaceEditor into edit mode as follows:

var editor = new Ajax.InPlaceEditor('tempName', '/ProcTemp.aspx',
{okText:"Save",cancelControl:"button"});
editor.enterEditMode('click');

In Firefox, I get the error:

Permission denied to call method Location.toString
http://localhost/inc/ajax/prototype.js
Line 3890

In I.E. I get a "Object doesn't support this property or method." The
actual code where the error happens in prototype.js is:

    stop: function(event) {
      Event.extend(event);
      event.preventDefault();  <------   ERROR IS HERE!!!
      event.stopPropagation();
      event.stopped = true;

I'm using prototype.js v 1.6.0.3.

Any ideas? Thanks for your help.

Ivan

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to