Ticket #13616 (confirmed Bug)
Item not accessible at Tinymce.plugins.plonebrowser
Reported by: | ristow | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 4.x |
Component: | Visual Editor | Version: | 4.2 |
Keywords: | Cc: |
Description
If the "page-preview" fails in the plonebrowser plugin (internal-link), the item can't be selected anymore.
Steps to reproduce:
- go to @@tinymce-controlpanel, Resource Types, Contains Anchor
- Change "Document" to "Document|wrong_field_name" (This is just to simulate an error in the @@tinymce-jsondetails view)
- go to TinyMce
- Insert a Link, goto internal
- Try to select a Document
Versions:
- TinyMCE-1.3.2
Debug info:
- Here the event (select-item) propagation is stopped:
Script: http://webcms.localhost:37000/fhnw/plugins/plonebrowser/js/plonebrowser.js Line: 989
e.preventDefault(); e.stopPropagation(); self.setDetails(jq(this).attr('href'));
- Here the item will be select "JUST" if the preview was successful:
Script: http://webcms.localhost:37000/fhnw/plugins/plonebrowser/js/plonebrowser.js
if (option.val() === dimension) { option.attr({'selected': 'selected'}); }
Change History
Note: See
TracTickets for help on using
tickets.