Opened 15 years ago
Closed 15 years ago
#2554 closed enhancement (wontfix)
[ccla] [patch] InlineEditBox -- add onClickParentNode feature.
Reported by: | Owned by: | Douglas Hays | |
---|---|---|---|
Priority: | low | Milestone: | 0.9beta |
Component: | Dijit | Version: | 0.4.1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
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 (1)
Change History (3)
Changed 15 years ago by
Attachment: | InlineEditBoxParentNode.txt added |
---|
comment:1 Changed 15 years ago by
Component: | Widgets → Dijit |
---|---|
Milestone: | 0.9 → 1.0 |
Owner: | changed from bill to Douglas Hays |
I don't have a strong opinion on whether we should have this or not.
comment:2 Changed 15 years ago by
Milestone: | 1.0 → 0.9beta |
---|---|
Resolution: | → wontfix |
Status: | new → closed |
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.
patch file to add onClickParentNode option.