<button onclick='dojo.cookie("noGCF", "true", {path:"/", expires: 365}); hideMe($("gcfPrompt"));'>&common.googlechromeframe.dontask;</button>
</div>
</center>
- <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/chrome-frame/1/CFInstall.min.js"></script>
- <script><![CDATA[
- dojo.addOnLoad(
- function() {
- CFInstall.check({
- preventPrompt: true,
- onmissing: function() {
- if (dojo.cookie("noGCF") != "true")
- unHideMe($('gcfPrompt'));
- }
- });
- }
- );
- ]]>
- </script>
<!--#include virtual='common/js_common_postbody.xml'-->
console.log('middle of main script');
+ if(dojo.isIE) {
+ setTimeout(
+ function() {
+ openils.Util.requireLegacy('http://ajax.googleapis.com/ajax/libs/chrome-frame/1/CFInstall.min.js');
+ CFInstall.check({
+ preventPrompt: true,
+ onmissing: function() {
+ if (dojo.cookie("noGCF") != "true")
+ unHideMe($('gcfPrompt'));
+ }
+ });
+ }, 0);
+ }
+
config.css.color_1 = "color_1";
config.css.color_2 = "color_2";