Disable Codemirror code completion for IE as it doesn't work properly and mostly just gets in your way

This commit is contained in:
sebastiaan
2012-09-06 07:41:45 -02:00
parent 2a6fc37dce
commit 2ec35aa0fa

View File

@@ -87,6 +87,12 @@ namespace umbraco.cms.presentation.developer
S = SR.ReadToEnd();
SR.Close();
pythonSource.Text = S;
//Autosuggest doesn't work properly in IE
if(HttpContext.Current.Request.Browser.Browser == "IE")
{
pythonSource.AutoSuggest = false;
}
}
private void InitializeComponent()