fixed: Cannot add youtube videos in IE6/7. Fixed by adding an "allow media" switch to the rich editor

This commit is contained in:
Doug Bell 2008-06-19 17:28:55 +00:00
parent 986252e9c4
commit 5c2b9351fd
4 changed files with 41 additions and 0 deletions

View file

@ -19,6 +19,8 @@
- fixed: Adding Flat Discount Coupon causes "Problem w/ Request" error
- fixed: No label for yes/no radio buttons
- fixed: Gallery Edit Album buttons did not work properly in IE
- fixed: Cannot embed YouTube videos in IE6/7. Fixed by adding an "Allow Media"
switch to the RichEdit asset.
7.5.12
- skipping this release

View file

@ -31,9 +31,22 @@ my $session = start(); # this line required
fixShop($session);
addSelectableProfileTemplates($session);
addCouponThankYouMessage($session);
addRichEditMedia( $session );
finish($session); # this line required
#----------------------------------------------------------------------------
# Add the "allowMedia" field to Rich Edit assets
sub addRichEditMedia {
my $session = shift;
print "\tAdding Media switch to Rich Edit..." unless $quiet;
$session->db->write(
q{ ALTER TABLE RichEdit ADD COLUMN allowMedia INT },
);
print "DONE!\n" unless $quiet;
}
#----------------------------------------------------------------------------
sub fixShop {