<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>public/images/facebox/b.png</filename>
    </added>
    <added>
      <filename>public/images/facebox/bl.png</filename>
    </added>
    <added>
      <filename>public/images/facebox/br.png</filename>
    </added>
    <added>
      <filename>public/images/facebox/closelabel.gif</filename>
    </added>
    <added>
      <filename>public/images/facebox/loading.gif</filename>
    </added>
    <added>
      <filename>public/images/facebox/tl.png</filename>
    </added>
    <added>
      <filename>public/images/facebox/tr.png</filename>
    </added>
    <added>
      <filename>public/javascripts/facebox.js</filename>
    </added>
    <added>
      <filename>public/stylesheets/facebox.css</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -4,6 +4,11 @@ It does not matter how slowly you go as long as you do not stop.
 First they ignore you, then they laugh at you, then they fight you,
 then you win. &#8211;- Mahatma Gandhi
 
+Thu, Oct 21, 2009
+---------------------------------------------------------------------
+- Fixed SASS deprecation warnings making it compatible with Heroku again (thanks, Jim!).
+- Refactored Facebox library (again!) to take into account [base_url] setting.
+
 Wed, Oct 21, 2009
 ---------------------------------------------------------------------
 - Include modules from &quot;lib/fat_free_crm.rb&quot; so that they're loaded when running rake.</diff>
      <filename>CHANGELOG</filename>
    </modified>
    <modified>
      <diff>@@ -227,6 +227,11 @@ module ApplicationHelper
   end
 
   #----------------------------------------------------------------------------
+  def activate_facebox
+    %Q/document.observe(&quot;dom:loaded&quot;, function() { new Facebox('#{Setting.base_url}'); });/
+  end
+
+  #----------------------------------------------------------------------------
   def avatar_for(model, args = {})
     args[:size]  ||= &quot;75x75&quot;
     args[:class] ||= &quot;gravatar&quot;</diff>
      <filename>app/helpers/application_helper.rb</filename>
    </modified>
    <modified>
      <diff>@@ -4,12 +4,12 @@
     %meta{ &quot;http-equiv&quot; =&gt; &quot;Content-Type&quot;, :content =&gt; &quot;text/html; charset=utf-8&quot; }
     %title Fat Free CRM
     == &lt;!-- #{controller.controller_name} : #{controller.action_name} --&gt;
-    = stylesheet_link_tag &quot;screen&quot;, &quot;/facebox/facebox.css&quot;, :cache =&gt; &quot;cache/all&quot;
+    = stylesheet_link_tag &quot;screen&quot;, &quot;facebox.css&quot;, :cache =&gt; &quot;cache/all&quot;
     - unless tabless_layout?
       = stylesheet_link_tag &quot;calendar_date_select/default.css&quot;
     %style= yield :styles
 
-    = javascript_include_tag :defaults, &quot;/facebox/facebox.js&quot;, :cache =&gt; &quot;cache/all&quot;
+    = javascript_include_tag :defaults, &quot;facebox.js&quot;, :cache =&gt; &quot;cache/all&quot;
     - unless tabless_layout?
       = javascript_include_tag &quot;crm_classes.js&quot;, &quot;calendar_date_select/calendar_date_select.js&quot;, &quot;calendar_date_select/format_american.js&quot;, :cache =&gt; &quot;cache/classes&quot;
     %script{:type =&gt; &quot;text/javascript&quot;}= yield :javascript
@@ -24,5 +24,6 @@
     %script{:type =&gt; &quot;text/javascript&quot;}
       = &quot;crm.base_url = '#{Setting.base_url}';&quot; unless Setting.base_url.blank?
       = get_browser_timezone_offset
+      = activate_facebox
       = yield :javascript_epilogue
       = hook(:javascript_epilogue, self)</diff>
      <filename>app/views/layouts/application.html.haml</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>public/facebox/README.txt</filename>
    </removed>
    <removed>
      <filename>public/facebox/b.png</filename>
    </removed>
    <removed>
      <filename>public/facebox/bl.png</filename>
    </removed>
    <removed>
      <filename>public/facebox/br.png</filename>
    </removed>
    <removed>
      <filename>public/facebox/closelabel.gif</filename>
    </removed>
    <removed>
      <filename>public/facebox/facebox.css</filename>
    </removed>
    <removed>
      <filename>public/facebox/facebox.js</filename>
    </removed>
    <removed>
      <filename>public/facebox/loading.gif</filename>
    </removed>
    <removed>
      <filename>public/facebox/tl.png</filename>
    </removed>
    <removed>
      <filename>public/facebox/tr.png</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>e9babd9544ae473847adcad8aad140d0ba154fe1</id>
    </parent>
  </parents>
  <author>
    <name>Mike Dvorkin</name>
    <email>mike@dvorkin.net</email>
  </author>
  <url>http://github.com/michaeldv/fat_free_crm/commit/68abfce173286012bca65b3da667764c3295c132</url>
  <id>68abfce173286012bca65b3da667764c3295c132</id>
  <committed-date>2009-10-22T21:23:40-07:00</committed-date>
  <authored-date>2009-10-22T21:23:40-07:00</authored-date>
  <message>Refactored Facebox library (again!) to take into account [base_url] setting</message>
  <tree>2c3e2a133d5d1962ff0fbe0f19687ca9b441dd8d</tree>
  <committer>
    <name>Mike Dvorkin</name>
    <email>mike@dvorkin.net</email>
  </committer>
</commit>
