fixed: Cannot add youtube videos in IE6/7. Fixed by adding an "allow media" switch to the rich editor
This commit is contained in:
parent
986252e9c4
commit
5c2b9351fd
4 changed files with 41 additions and 0 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue