To participate you must create an account on apostrophenow.org. If you have already done so, click Login.

Changeset 4525

Show
Ignore:
Timestamp:
01/27/12 15:26:59 (4 months ago)
Author:
tboutell
Message:

Annotation of multiple media items works again.

If you're going to have a nonstandard form submission mechanism (anything but a natural submit button) you have to make sure you do:

$('.a-needs-update').trigger('a.update');

So rich text editors and other enhanced controls can debrief their hidden elements.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • plugins/apostrophePlugin/branches/1.5/web/js/a.js

    r4523 r4525  
    25742574                }); 
    25752575                $('#a-media-edit-form-0').submit(function() { 
    2576                         return true; 
     2576                $('.a-needs-update').trigger('a.update'); 
     2577                return true; 
    25772578                }); 
    25782579                $('#a-media-edit-form-0 .a-media-editor .a-delete').bind('click.apostrophe', function() {