{"id":1208,"date":"2013-03-20T16:34:33","date_gmt":"2013-03-20T15:34:33","guid":{"rendered":"http:\/\/blog.kodono.info\/wordpress\/?p=1208"},"modified":"2014-11-13T10:03:42","modified_gmt":"2014-11-13T09:03:42","slug":"sharepoint-2010-and-ie-in-standard-mode-issues-with-ie9ie10","status":"publish","type":"post","link":"https:\/\/blog.kodono.info\/wordpress\/2013\/03\/20\/sharepoint-2010-and-ie-in-standard-mode-issues-with-ie9ie10\/","title":{"rendered":"Sharepoint 2010 and IE in standard mode (issues with IE9\/IE10)"},"content":{"rendered":"<p>I wanted to have a masterpage for Sharepoint 2010 with a HTML5 Doctype&#8230; unfortunately Sharepoint 2010 has been coded without standards, so lot of things are now broken.<\/p>\n<p>I spent some time to find the broken functions. I&#8217;ve created a file that is called just after <code>&lt;SharePoint:ScriptLink language=\"javascript\" name=\"core.js\" OnDemand=\"true\" runat=\"server\"\/&gt;<\/code>, and you <a href=\"http:\/\/blog.kodono.info\/wordpress\/wp-content\/uploads\/fix_sp2010.js\">can download it here (.js file)<\/a>.<\/p>\n<p>I overwrite some functions to make the &#8220;Multiple lines of text&#8221; to work and same thing for the &#8220;People Picker&#8221;, and other stuff. That could be useful for someone else.<\/p>\n<p>Also I found that the Gantt View doesn&#8217;t work in Standard Mode. So I&#8217;ve also overwritten some functions to make it OK in IE8, IE9 and IE10: <a href=\"http:\/\/blog.kodono.info\/wordpress\/wp-content\/uploads\/fix_grid_sp2010.js\">fix_grid_sp2010.js<\/a>. This file must be called at the bottom of your masterpage (in my case it&#8217;s just after the <code>&lt;\/form><\/code>) with something like :<\/p>\n<pre class=\"brush:html\">\r\n&lt;script type=\"text\/javascript\">\r\n\/\/ &lt;![CDATA[\r\nif (typeof SP !== \"undefined\" &#038;& typeof SP.JsGrid !== \"undefined\") document.write('&lt;script type=\"text\/javascript\" src=\"\/dir\/_catalogs\/masterpage\/My_Standard\/js\/fix_grid_sp2010.js\">&lt;\/'+'script>');\r\n\/\/ ]]>\r\n&lt;\/script>\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>I wanted to have a masterpage for Sharepoint 2010 with a HTML5 Doctype&#8230; unfortunately Sharepoint 2010 has been coded without standards, so lot of things are now broken. I spent some time to find the broken functions. I&#8217;ve created a file that is called just after &lt;SharePoint:ScriptLink language=&#8221;javascript&#8221; name=&#8221;core.js&#8221; OnDemand=&#8221;true&#8221; runat=&#8221;server&#8221;\/&gt;, and you can download [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_coblocks_attr":"","_coblocks_dimensions":"","_coblocks_responsive_height":"","_coblocks_accordion_ie_support":"","hide_page_title":"","footnotes":""},"categories":[13,33],"tags":[92,24,152,158,142],"class_list":["post-1208","post","type-post","status-publish","format-standard","hentry","category-niveau-intermediaire","category-programmation","tag-internet-explorer","tag-javascript","tag-niveau-intermediaire","tag-programmation","tag-sharepoint-2010"],"_links":{"self":[{"href":"https:\/\/blog.kodono.info\/wordpress\/wp-json\/wp\/v2\/posts\/1208","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.kodono.info\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.kodono.info\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.kodono.info\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.kodono.info\/wordpress\/wp-json\/wp\/v2\/comments?post=1208"}],"version-history":[{"count":9,"href":"https:\/\/blog.kodono.info\/wordpress\/wp-json\/wp\/v2\/posts\/1208\/revisions"}],"predecessor-version":[{"id":1427,"href":"https:\/\/blog.kodono.info\/wordpress\/wp-json\/wp\/v2\/posts\/1208\/revisions\/1427"}],"wp:attachment":[{"href":"https:\/\/blog.kodono.info\/wordpress\/wp-json\/wp\/v2\/media?parent=1208"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.kodono.info\/wordpress\/wp-json\/wp\/v2\/categories?post=1208"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.kodono.info\/wordpress\/wp-json\/wp\/v2\/tags?post=1208"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}