The non-wysiwyg method of adding the upload and link links to textareas only works onLoad as its being initiated on document ready only. This means no post-load generated forms will be involved...
By using a Drupal behavior instead, it will be initiated every time a popup window is open as well as document load ready. For example, Panels uses popup DOM windows to give you forms to add content into panes.
Implementation: imce_set_inline.js : 59
//$(document).ready(ii.initiate);
Drupal.behaviors.imceInline = function(context) {
ii.initiate();
};
| Comment | File | Size | Author |
|---|---|---|---|
| imce_set_inline.js_.diff | 446 bytes | Josephnewyork |
Comments
Comment #1
ufku commented#1146026: provide image upload links without wysiwg integration on form components loaded by ajax (e.g. views edit form)