Commit ea4ce025289d31831a1e89883bd38c420c841921

Authored by AntonioTerceiro
1 parent 9850ba44

ActionItem460: adapting iepngfix to noosfero

git-svn-id: https://svn.colivre.coop.br/svn/noosfero/branches/0.11.x@2505 3f533792-8f58-4932-b0fe-aaf55b0a4547
app/views/layouts/application.rhtml
... ... @@ -50,6 +50,7 @@
50 50 <%# FIXME %>
51 51 <%= stylesheet_link_tag '/designs/icons/default/style.css' %>
52 52  
  53 + <%= stylesheet_link_tag 'iepngfix/iepngfix.css' %>
53 54 <base href="<%= base_url %>"/>
54 55 </head>
55 56  
... ...
public/stylesheets/iepngfix/iepngfix.css 0 → 100644
... ... @@ -0,0 +1 @@
  1 +img { behavior: url(/stylesheets/iepngfix/iepngfix.htc) }
... ...
public/stylesheets/iepngfix/iepngfix.htc
... ... @@ -12,7 +12,7 @@
12 12  
13 13 // This must be a path to a blank image, relative to the HTML document(s).
14 14 // In production use I suggest '/images/blank.gif' or similar. That's all!
15   -if (typeof blankImg == 'undefined') var blankImg = 'blank.gif';
  15 +if (typeof blankImg == 'undefined') var blankImg = '/stylesheets/iepngfix/blank.gif';
16 16  
17 17  
18 18  
... ...