Fix CSS issues (empty stylehseets) and bug with inserting images

This commit is contained in:
Garvin Hicking 2007-11-22 10:07:00 +00:00
parent 0908601d43
commit 96fc983f91
2 changed files with 4 additions and 3 deletions

View File

@ -260,6 +260,7 @@ function noWysiwygAdd( str, textarea )
eltarget = document.forms[0].elements[0];
}
wrapSelection(eltarget, str, '');
eltarget.focus();
}

View File

@ -2,9 +2,9 @@
<head>
<title>{$CONST.SERENDIPITY_ADMIN_SUITE}: {$CONST.SELECT_FILE}</title>
<meta http-equiv="Content-Type" content="text/html; charset={$CONST.LANG_CHARSET}" />
<link rel="stylesheet" type="text/css" href="{$media.css}" />
<link rel="stylesheet" type="text/css" href="{$media.css_tree}" />
<link rel="stylesheet" type="text/css" href="{$media.css_imgedit}" />
{if $media.css}<link rel="stylesheet" type="text/css" href="{$media.css}" />{/if}
{if $media.css_tree}<link rel="stylesheet" type="text/css" href="{$media.css_tree}" />{/if}
{if $media.css_imgedit}<link rel="stylesheet" type="text/css" href="{$media.css_imgedit}" />{/if}
{if $media.is_imgedit}
<style type="text/css">