Login Register

InlineEditBox

ew.focusNode is undefined

Hi,

I'm using Dojo 1.1.1. Clicking on the InlineEditBox created by the snippet below causes Firebug to emit 'ew.focusNode is undefined'.

<div id="editableHeader" dojoType="dijit.InlineEditBox" editor="dijit.Editor"
        autoSave="true" title="company name">
</div>

According to the docs, this is supported. Anyone know the answer?

Thanks!

Greg

dijit.InLineEditBox is not a constructor

I am trying to dynamically create an InLineEditBox within an

  • tag, but I keep getting the error "dijit.InLineEditBox is not a constructor". I am using Dojo 1.0 and testing using FF2. I have declared the InLineEditBox:

    dojo.require("dijit.InlineEditBox");

    When a button is clicked, the addBullet() function is called:

    Add Bullet

    The function itself is contained in a separate .js file. I haven't had problems with the other Dojo functions that I created within the file.

  • dijit.InlineEditBox and onChange

    I'm creating a bunch of dijit.InlineEditBoxes programmatically, and having some trouble with the onChange event. While if you create the editboxes statically, you can set a complex onChange function, ie

    Edit me

    when creating them programmatically, it seems that the onChange has to be a pointer to a function, and only passes the new value of the editbox; ie

    var inlineEdit = new dijit.InlineEditBox({
    autoSave:true,

    Syndicate content