Ticket #2554 (closed enhancement: wontfix)

Opened 21 months ago

Last modified 18 months ago

[ccla] [patch] InlineEditBox -- add onClickParentNode feature.

Reported by: csawyer@… Owned by: doughays
Priority: low Milestone: 0.9beta
Component: Dijit Version: 0.4.1
Severity: normal Keywords:
Cc:

Description

This may only be useful for me, and my uses, but I was putting InlineEditBox? inside a table, and it wouldn't work when clicking on the td element, which I found annoying, so I patched InlineEditBox? to allow 'editing' to happen when clicking on it's parent node, and not on the actual value itself(tho clicking on the value still works..). This can also be useful if the value is null, or empty(it's hard to click on nothing). Patch file included (against 0.4.x).

this adds a new option: onClickParentNode, which is a boolean, and alters postCreate().

Attachments

InlineEditBoxParentNode.txt (1.0 kB) - added by csawyer@… 21 months ago.
patch file to add onClickParentNode option.

Change History

Changed 21 months ago by csawyer@…

patch file to add onClickParentNode option.

Changed 18 months ago by bill

  • owner changed from bill to doughays
  • component changed from Widgets to Dijit
  • milestone changed from 0.9 to 1.0

I don't have a strong opinion on whether we should have this or not.

Changed 18 months ago by doughays

  • status changed from new to closed
  • resolution set to wontfix
  • milestone changed from 1.0 to 0.9beta

I tried the following using the rewritten InlineEditBox? for 0.9 and it already works:
<table><tr><td>

<span id="areaEditable" dojoType="dijit.form.InlineEditBox?">

<textarea dojoType="dijit.form.Textarea">I'm a table cell</textarea>

</span>

</td></tr></table>
The 0.9 widget will not be backported to 0.4.x.

Note: See TracTickets for help on using tickets.