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

@ -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 {