<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -2,6 +2,7 @@
 // was used, jQuery is passed as argument in document ready
 // so we can name it $
 jQuery(function($) {
+  $.lightBoxFu.initialize({imagesPath: '/images/', stylesheetsPath: '/stylesheets/'});
   // add upload progress to our form
   $('form.progress').uploadProgress({
     start:function(){
@@ -20,6 +21,10 @@ jQuery(function($) {
       jQuery('#size').html(parseInt(upload.size/1024)+&quot; kB&quot;);
       jQuery('#percent').html(upload.percents+&quot;%&quot;);
     },
-    interval: 2000
+    interval: 2000,
+    /* if we are using images it's good to preload them, safari has problems with
+       downloading anything after hitting submit button. these are images for lightBoxFu
+       and progress bar */
+    preloadImages: [&quot;/images/overlay.png&quot;, &quot;/images/ajax-loader.gif&quot;]
   });
 });
\ No newline at end of file</diff>
      <filename>public/javascripts/progress.js</filename>
    </modified>
    <modified>
      <diff>@@ -25,6 +25,9 @@ jQuery(function($) {
       jQuery('#percent').html(upload.percents+&quot;%&quot;);
     },
     interval: 2000,
+    /* if we are using images it's good to preload them, safari has problems with
+       downloading anything after hitting submit button. these are images for lightBoxFu
+       and progress bar */
     preloadImages: [&quot;/images/overlay.png&quot;, &quot;/images/ajax-loader.gif&quot;]
   });
   </diff>
      <filename>public/javascripts/step1.js</filename>
    </modified>
    <modified>
      <diff>@@ -65,6 +65,9 @@ jQuery(function($) {
       window.setTimeout($.lightBoxFu.close, 2000);
     },
     interval: 2000,
+    /* if we are using images it's good to preload them, safari has problems with
+       downloading anything after hitting submit button. these are images for lightBoxFu
+       and progress bar */
     preloadImages: [&quot;/images/overlay.png&quot;, &quot;/images/ajax-loader.gif&quot;]
   });
 });
\ No newline at end of file</diff>
      <filename>public/javascripts/step2.js</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>48e953b9c73191288f9c706135063664db55e8a0</id>
    </parent>
  </parents>
  <author>
    <name>Piotr Sarnacki</name>
    <email>drogus@gmail.com</email>
  </author>
  <url>http://github.com/drogus/mugshots/commit/db955da4184460f997284baff226c80a8dc3395e</url>
  <id>db955da4184460f997284baff226c80a8dc3395e</id>
  <committed-date>2008-07-03T09:34:20-07:00</committed-date>
  <authored-date>2008-07-03T09:34:20-07:00</authored-date>
  <message>set final javascript files for demo</message>
  <tree>4b0dcf4353722df5eb9e2555cfe5292f283edae4</tree>
  <committer>
    <name>Piotr Sarnacki</name>
    <email>drogus@gmail.com</email>
  </committer>
</commit>
