Download & Extend

Position edit button in Drupal.behaviors.modalFrameCCKEditor

Project:Modal Frame CCK Editor
Version:6.x-1.0
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

In Drupal.behaviors.modalFrameCCKEditor the edit button is prepended to the div and floated right. I need to have it appended. As a hack it could be fixed in a couple of letters, but I would rather not do that.

If I override Drupal.theme.prototype.modalFrameCCKEditorButton and wrap the link in a span, then the click function doesn't attach properly.

If I try to move the button after modalframecckeditor is done, I seem to lose the click function altogether.

How would you go about this? Thanks.

Comments

#1

Subscribing.

I'd like to be able to theme/render this bugger independently, so I can have more control over how the edit button is displayed for a fieldgroup.