Set TinyMCE data type to default to showing the label

This commit is contained in:
Matt@MBP-PC.Home
2012-07-03 14:05:08 -01:00
parent b2e93d2470
commit e3e4254de6
2 changed files with 5 additions and 0 deletions

View File

@@ -83,6 +83,9 @@ namespace umbraco.editorControls.tinyMCE3
if (configSettings.Length > 6 && configSettings[6] != "")
_showLabel = bool.Parse(configSettings[6]);
else
_showLabel = true;
if (configSettings.Length > 7 && configSettings[7] != "")
m_maxImageWidth = int.Parse(configSettings[7]);

View File

@@ -154,6 +154,8 @@ namespace umbraco.editorControls.tinymce
_stylesheets = config[5];
if (config.Length > 6 && config[6] != "")
_showLabel.Checked = bool.Parse(config[6]);
else
_showLabel.Checked = true;
if (config.Length > 7 && config[7] != "")
_maxImageWidth.Text = config[7];
else