Posted by webchick on January 20, 2013 at 10:01am
5 followers
Jump to:
| Project: | Edit |
| Version: | 7.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
| Issue tags: | Edit D7 Backport |
Issue Summary
To reproduce, toggle edit mode, then toggle back to view mode, then try and click a link. You can't. The universe's cruelest joke.
Comments
#1
#2
Problem is in
editingWidgets/*widget.jsfiles, there is a preventDefault on click event that is bound but never released.#3
If so, then that bug is most likely also in D8, so I'll port it over to 8.
#4
#5
Confirmed that this is also a bug in Drupal 8. Funny that nobody reported this yet.
#6
Nailed it.
There is a problem when the page opens with
#editbut that should be solvable. I'll look into it tomorrow.#7
I wonder if this is related to the lazy loading of editors.
#8
I'd be surprised. It's all happening in app.js which is present on page load.
#9
Comes down to a createjs issue https://github.com/bergie/create/issues/133
#10
Ok this one is solved but I made another more tricky bug appear, see #1895458: Duplicate data-edit-id attribute for node title.
#11
How did you solve this without fixing the upstream Create.js problem?
#12
with http://drupalcode.org/project/edit.git/commitdiff/1fec4426e4c9c47c1d7990... and http://drupalcode.org/project/edit.git/commitdiff/f8310b952c495aee4f9e63...
I changed
_manageDocumentFocusto be called later (app.js#l117) and did the binding in there. Unbinding is in_releaseDocumentFocusManagement.#13
Automatically closed -- issue fixed for 2 weeks with no activity.