<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -14,9 +14,12 @@ class PageController &lt; ApplicationController
   end
   
   def control
-    render :text =&gt; 'This content is the response from an AJAX call.' if params.has_key? :ajax
   end
   
+  def ajax_example
+    render :text =&gt; 'This content is the response from an AJAX call.'
+  end
+
   def extras
     
   end</diff>
      <filename>app/controllers/page_controller.rb</filename>
    </modified>
    <modified>
      <diff>@@ -113,7 +113,7 @@
 		&lt;% examples.item :name =&gt; '&lt;a href=&quot;#centered&quot;&gt;Centered Window / Content on Page&lt;/a&gt;', :options =&gt; &quot;className: 'simple_window', closeOnClick: true&quot; %&gt;
 		&lt;% examples.item :name =&gt; '&lt;a href=&quot;#relative&quot;&gt;Relative Window / Dynamic Content&lt;/a&gt;', :options =&gt; &quot;position: 'relative', className: 'simple_window', closeOnClick: true&quot; %&gt;
 		&lt;% examples.item :name =&gt; '&lt;a href=&quot;#hoverbox&quot;&gt;HoverBox&lt;/a&gt;', :options =&gt; &quot;position: 'relative', offsetLeft: 75, width: 175, hover: true, className: 'tooltip'&quot; %&gt;
-		&lt;% examples.item :name =&gt; '&lt;a href=&quot;?ajax&quot;&gt;Relative Window / Content from Ajax&lt;/a&gt;', :options =&gt; &quot;offsetLeft: 150, position: 'relative', className: 'simple_window', closeOnClick: 'container'&quot; %&gt;
+		&lt;% examples.item :name =&gt; '&lt;a href=&quot;/ajax_example&quot;&gt;Relative Window / Content from Ajax&lt;/a&gt;', :options =&gt; &quot;offsetLeft: 150, position: 'relative', className: 'simple_window', closeOnClick: 'container'&quot; %&gt;
 		&lt;% examples.item :name =&gt; '&lt;a href=&quot;/stylesheets/sample_images/tabs_example_1_big.jpg&quot; id=&quot;styled_window_one&quot; title=&quot;Piha Beach, New Zealand&quot;&gt;Draggable / Styled Window One&lt;/a&gt;', :options =&gt; &quot;window_factory() options&quot; %&gt;
 		&lt;% examples.item :name =&gt; '&lt;a href=&quot;/stylesheets/sample_images/tabs_example_2_big.jpg&quot; id=&quot;styled_window_two&quot; title=&quot;Pioneer Mountains, Idaho&quot;&gt;Draggable / Styled Window Two&lt;/a&gt;', :options =&gt; &quot;window_factory() options&quot; %&gt;
 		&lt;% examples.item :name =&gt; '&lt;a href=&quot;/stylesheets/sample_images/tabs_example_3_big.jpg&quot; id=&quot;modal&quot;&gt;Modal Window&lt;/a&gt;', :options =&gt; &quot;fade: true, overlayOpacity: 0.75, className: 'modal'&quot; %&gt;
@@ -221,7 +221,7 @@
 		});
 
 		//Relative Window / Content from Ajax
-		var ajax = new Control.Window($(document.body).down('[href=?ajax]'),{
+		var ajax = new Control.Window($(document.body).down('[href=/ajax_example]'),{
 			className: 'simple_window',
 			closeOnClick: 'container',
 			offsetLeft: 150</diff>
      <filename>app/views/page/_examples.rhtml</filename>
    </modified>
    <modified>
      <diff>@@ -100,7 +100,7 @@
 	});
 	
 	//Relative Window / Content from Ajax
-	var ajax = new Control.Window($(document.body).down('[href=?ajax]'),{
+	var ajax = new Control.Window($(document.body).down('[href=/ajax_example]'),{
 		className: 'simple_window',
 		closeOnClick: 'container',
 		offsetLeft: 150
@@ -186,7 +186,7 @@
 		&lt;% examples.item :name =&gt; '&lt;a href=&quot;#centered&quot;&gt;Centered Window / Content on Page&lt;/a&gt;', :options =&gt; &quot;className: 'simple_window', closeOnClick: true&quot; %&gt;
 		&lt;% examples.item :name =&gt; '&lt;a href=&quot;#relative&quot;&gt;Relative Window / Dynamic Content&lt;/a&gt;', :options =&gt; &quot;position: 'relative', className: 'simple_window', closeOnClick: true&quot; %&gt;
 		&lt;% examples.item :name =&gt; '&lt;a href=&quot;#hoverbox&quot;&gt;HoverBox&lt;/a&gt;', :options =&gt; &quot;position: 'relative', offsetLeft: 75, width: 175, hover: true, className: 'tooltip'&quot; %&gt;
-		&lt;% examples.item :name =&gt; '&lt;a href=&quot;?ajax&quot;&gt;Relative Window / Content from Ajax&lt;/a&gt;', :options =&gt; &quot;offsetLeft: 150, position: 'relative', className: 'simple_window', closeOnClick: 'container'&quot; %&gt;
+		&lt;% examples.item :name =&gt; '&lt;a href=&quot;/ajax_example&quot;&gt;Relative Window / Content from Ajax&lt;/a&gt;', :options =&gt; &quot;offsetLeft: 150, position: 'relative', className: 'simple_window', closeOnClick: 'container'&quot; %&gt;
 		&lt;% examples.item :name =&gt; '&lt;a href=&quot;/stylesheets/sample_images/tabs_example_1_big.jpg&quot; id=&quot;styled_window_one&quot; title=&quot;Piha Beach, New Zealand&quot;&gt;Draggable / Styled Window One&lt;/a&gt;', :options =&gt; &quot;window_factory() options&quot; %&gt;
 		&lt;% examples.item :name =&gt; '&lt;a href=&quot;/stylesheets/sample_images/tabs_example_2_big.jpg&quot; id=&quot;styled_window_two&quot; title=&quot;Pioneer Mountains, Idaho&quot;&gt;Draggable / Styled Window Two&lt;/a&gt;', :options =&gt; &quot;window_factory() options&quot; %&gt;
 		&lt;% examples.item :name =&gt; '&lt;a href=&quot;/stylesheets/sample_images/tabs_example_3_big.jpg&quot; id=&quot;modal&quot;&gt;Modal Window&lt;/a&gt;', :options =&gt; &quot;fade: true, overlayOpacity: 0.75, className: 'modal'&quot; %&gt;
@@ -292,4 +292,4 @@
 	&lt;% options_table 'Control.LightBox Options' do |options| %&gt;
 		&lt;% options.item :type =&gt; 'bool', :name =&gt; 'modal', :default =&gt; &quot;false&quot;, :description =&gt; 'Will act as a Control.Modal instead of a Control.Window if true.' %&gt;
 	&lt;% end %&gt;
-&lt;% end %&gt;
\ No newline at end of file
+&lt;% end %&gt;</diff>
      <filename>app/views/page/control/_window.rhtml</filename>
    </modified>
    <modified>
      <diff>@@ -23,5 +23,6 @@ ACTIONS = {
   'download' =&gt; '/download',
   'core' =&gt; '/core',
   'extras' =&gt; '/extra',
-  'controls' =&gt; '/control'
+  'controls' =&gt; '/control',
+  'ajax_example' =&gt; '/ajax_example'
 }</diff>
      <filename>config/action_map.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>a6bd366c5b3f8468bdce88130d48f5da464397bc</id>
    </parent>
  </parents>
  <author>
    <name>Nathan Lloyd Smith</name>
    <email>nlloyds@gmail.com</email>
  </author>
  <url>http://github.com/syntacticx/livepipe.net-documentation/commit/ef3fd59a7e851da39584fdc533d7ee6f37b8b8bc</url>
  <id>ef3fd59a7e851da39584fdc533d7ee6f37b8b8bc</id>
  <committed-date>2009-06-10T20:54:00-07:00</committed-date>
  <authored-date>2009-06-10T20:54:00-07:00</authored-date>
  <message>Fix for Control.Window Ajax example</message>
  <tree>dceb1561fa1462f12d602f12381292677539f2ed</tree>
  <committer>
    <name>Nathan Lloyd Smith</name>
    <email>nlloyds@gmail.com</email>
  </committer>
</commit>
