<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -146,7 +146,9 @@ class RowsController &lt; ApplicationController
         format.html { redirect_to(rows_url) }
         format.xml  { head :ok }
         format.js   { 
-          page.call &quot;Row.fix_first&quot;, row.section
+          render :update do |page|
+            page.call &quot;Row.fix_first&quot;, row.section
+          end
         } 
       end
     rescue</diff>
      <filename>app/controllers/rows_controller.rb</filename>
    </modified>
    <modified>
      <diff>@@ -112,7 +112,7 @@ class Row &lt; ActiveRecord::Base
       add_count.times do
         new_column = self.columns.create(:jivepage =&gt; jivepage)
         new_column.create_box!(&quot;textblock&quot;, 1, 
-            :content =&gt; &quot;Click here to change text.&quot;)
+            :content =&gt; &quot;Click here to change text.&quot;) if new_column.first?
       end
     end
 </diff>
      <filename>app/models/row.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,6 +1,7 @@
 &lt;% column ||= @column %&gt;
 &lt;div id=&quot;&lt;%= dom_id(column, &quot;content&quot;) %&gt;&quot; class=&quot;column&quot;&gt;
   &lt;%= tool_shed(column) %&gt;
+  &lt;% if column.boxes.blank? %&gt;&amp;nbsp; &amp;nbsp;&lt;% end %&gt;
   &lt;%= render :partial =&gt; &quot;boxes/box&quot;, :collection =&gt; column.boxes %&gt;  
 &lt;/div&gt;
 </diff>
      <filename>app/views/columns/_content.html.erb</filename>
    </modified>
    <modified>
      <diff>@@ -1,5 +1,5 @@
 &lt;!-- This gets moved to a row on demand --&gt;
-&lt;div id=&quot;home_column_tool_shed&quot; style=&quot;display:none&quot;&gt;
+&lt;div id=&quot;home-column_tool_shed&quot; style=&quot;display:none&quot;&gt;
   &lt;div id=&quot;all_column_tools&quot;&gt;      
     &lt;div id=&quot;insert_tool&quot;&gt;    
       &lt;table id=&quot;insert_menu&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot;&gt;
@@ -22,23 +22,19 @@
   &lt;/div&gt;
 &lt;/div&gt;
 
-&lt;div id=&quot;home_row_tool_shed&quot; style=&quot;display:none&quot;&gt;
-  &lt;div id=&quot;all_row_tools&quot;&gt;    
-    &lt;div id=&quot;top_tool&quot; class=&quot;tool&quot;&gt;    
-      &lt;ul id=&quot;top_menu&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot;&gt;
-          &lt;li class=&quot;&lt;%= Row::FULL %&gt;&quot;&gt;&lt;%= link_to_function &quot;full&quot;, &quot;Row.format(this)&quot; %&gt;&lt;/li&gt;
-          &lt;li class=&quot;&lt;%= Row::HALVES %&gt;&quot;&gt;&lt;%= link_to_function &quot;halves&quot;, &quot;Row.format(this)&quot; %&gt;&lt;/li&gt;
-          &lt;li class=&quot;&lt;%= Row::THIRDS %&gt;&quot;&gt;&lt;%= link_to_function &quot;thirds&quot;, &quot;Row.format(this)&quot; %&gt;&lt;/li&gt;
-          &lt;li class=&quot;&lt;%= Row::LEFT %&gt;&quot;&gt;&lt;%= link_to_function &quot;left&quot;, &quot;Row.format(this)&quot; %&gt;&lt;/li&gt;
-          &lt;li class=&quot;&lt;%= Row::RIGHT %&gt;&quot;&gt;&lt;%= link_to_function &quot;right&quot;, &quot;Row.format(this)&quot; %&gt;&lt;/li&gt;
-      &lt;/ul&gt;
-    &lt;/div&gt;
-    &lt;div id=&quot;left_tool&quot; class=&quot;tool&quot;&gt;    
-      &lt;ul id=&quot;left_menu&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot;&gt;
-        &lt;li class=&quot;up&quot;&gt;&lt;%= link_to_function &quot;^^&quot;, &quot;Row.up()&quot; %&gt;&lt;/li&gt;
-        &lt;li class=&quot;drop&quot;&gt;&lt;%= link_to_function &quot;x&quot;, &quot;Row.drop()&quot; %&gt;&lt;/li&gt;
+&lt;div id=&quot;home-row_tool_shed&quot; style=&quot;display:none;&quot;&gt;
+  &lt;div id=&quot;all_row_tools&quot;&gt;
+    &lt;div id=&quot;row_tool&quot; class=&quot;tool&quot;&gt;    
+      &lt;ul id=&quot;row_menu&quot;&gt;
+        &lt;li class=&quot;up&quot;&gt;&lt;%= link_to_function &quot;&amp;#8593&quot;, &quot;Row.up()&quot; %&gt;&lt;/li&gt;
+        &lt;li class=&quot;down&quot;&gt;&lt;%= link_to_function &quot;&amp;#8595&quot;, &quot;Row.down()&quot; %&gt;&lt;/li&gt;
         &lt;li class=&quot;insert&quot;&gt;&lt;%= link_to_function &quot;+&quot;, &quot;Row.insert()&quot; %&gt;&lt;/li&gt;
-        &lt;li class=&quot;down&quot;&gt;&lt;%= link_to_function &quot;vv&quot;, &quot;Row.down()&quot; %&gt;&lt;/li&gt;
+        &lt;li class=&quot;drop&quot;&gt;&lt;%= link_to_function &quot;X&quot;, &quot;Row.drop()&quot; %&gt;&lt;/li&gt;
+        &lt;li class=&quot;&lt;%= Row::FULL %&gt;&quot;&gt;&lt;%= link_to_function &quot;full&quot;, &quot;Row.format(this)&quot; %&gt;&lt;/li&gt;
+        &lt;li class=&quot;&lt;%= Row::HALVES %&gt;&quot;&gt;&lt;%= link_to_function &quot;halves&quot;, &quot;Row.format(this)&quot; %&gt;&lt;/li&gt;
+        &lt;li class=&quot;&lt;%= Row::THIRDS %&gt;&quot;&gt;&lt;%= link_to_function &quot;thirds&quot;, &quot;Row.format(this)&quot; %&gt;&lt;/li&gt;
+        &lt;li class=&quot;&lt;%= Row::LEFT %&gt;&quot;&gt;&lt;%= link_to_function &quot;left&quot;, &quot;Row.format(this)&quot; %&gt;&lt;/li&gt;
+        &lt;li class=&quot;&lt;%= Row::RIGHT %&gt;&quot;&gt;&lt;%= link_to_function &quot;right&quot;, &quot;Row.format(this)&quot; %&gt;&lt;/li&gt;
       &lt;/ul&gt;
     &lt;/div&gt;
   &lt;/div&gt;</diff>
      <filename>app/views/jivepages/_tool_shed.html.erb</filename>
    </modified>
    <modified>
      <diff>@@ -5,7 +5,7 @@
 &lt;%= rows_for(:body, @jivepage) %&gt;
 
 &lt;% content_for(:footer) do %&gt;
-&lt;blockquote&gt;
+&lt;!-- &lt;blockquote&gt; --&gt;
   &lt;%= rows_for(:footer, @jivepage) %&gt;  
   &lt;%= link_to('View this page', jivepage_path(@jivepage)) %&gt;
   &lt;br/&gt;
@@ -20,7 +20,7 @@
 &lt;% form_for Jivepage.new, :jivepage do %&gt;
   &lt;%= submit_tag &quot;New page&quot; %&gt;
 &lt;% end %&gt;  
-&lt;/blockquote&gt;  
+&lt;!-- &lt;/blockquote&gt;   --&gt;
 &lt;%= render :partial =&gt; &quot;jivepages/tool_shed&quot; %&gt;
 &lt;% end %&gt;
 </diff>
      <filename>app/views/jivepages/edit.html.erb</filename>
    </modified>
    <modified>
      <diff>@@ -4,16 +4,23 @@
 &lt;head&gt;
   &lt;% @jivepage ||= Jivepage.new({:sidebar =&gt; &quot;none&quot;}) %&gt;
   &lt;title&gt;&lt;%= h(@jivepage &amp;&amp; @jivepage.title ? @jivepage.title : controller.action_name) %&gt; : jivepages&lt;/title&gt;
+  
   &lt;% asset_path = &quot;/plugin_assets/jivepages&quot; %&gt;
-  &lt;link rel=&quot;stylesheet&quot; href=&quot;&lt;%= asset_path %&gt;/stylesheets/reset-fonts-grids.yui251.css&quot; type=&quot;text/css&quot;&gt;
-  &lt;link rel=&quot;stylesheet&quot; href=&quot;&lt;%= asset_path %&gt;/stylesheets/jivepages.css&quot; type=&quot;text/css&quot;&gt;
+  &lt;% %w{reset-fonts-grids.yui251 tabs jivepages}.each do |lib| %&gt;
+  &lt;link rel=&quot;stylesheet&quot; href=&quot;&lt;%= asset_path %&gt;/stylesheets/&lt;%= lib %&gt;.css&quot; type=&quot;text/css&quot;&gt;
+  &lt;% end %&gt;  
   &lt;%= javascript_include_tag :defaults %&gt;
-  &lt;%= javascript_include_tag &quot;#{asset_path}/javascripts/util&quot;, &quot;#{asset_path}/javascripts/jivepages&quot; %&gt;  
+  &lt;% %w{util jivepages jquery jquery/ui.core.js jquery/ui.tabs.js}.each do |lib| %&gt;
+  &lt;%= javascript_include_tag &quot;#{asset_path}/javascripts/#{lib}&quot; %&gt;
+  &lt;% end %&gt;  
+  &lt;%= javascript_tag %{
+    var $j = jQuery.noConflict();
+  } %&gt;
 &lt;/head&gt;
 
 &lt;body&gt;
   &lt;div id=&quot;&lt;%= @jivepage.layout || &quot;doc&quot; %&gt;&quot; class=&quot;jivepage &lt;%= @jivepage.skin %&gt; &lt;%= controller.action_name %&gt;&quot;&gt;
-    &lt;%= render :partial =&gt; &quot;jivepages/structure_controls&quot; if controller.action_name == &quot;edit&quot; %&gt;
+    &lt;%= render :partial =&gt; &quot;jivepages/menu&quot; if controller.action_name == &quot;edit&quot; %&gt;
     &lt;div id=&quot;hd&quot;&gt;
       &lt;div id=&quot;header_section&quot; class=&quot;yui-b&quot;&gt;
         &lt;%= yield :header %&gt;</diff>
      <filename>app/views/layouts/jivepages.html.erb</filename>
    </modified>
    <modified>
      <diff>@@ -5,7 +5,7 @@
 first %&gt;&quot;&gt;
 
   &lt;% unless (no_tool ||= false) %&gt;
-    &lt;%= tool_shed(row) %&gt;
+  &lt;%= tool_shed(row) %&gt;
   &lt;% end %&gt;
 
   &lt;div id=&quot;&lt;%= dom_id(row, 'container') %&gt;&quot;&gt;</diff>
      <filename>app/views/rows/_row.html.erb</filename>
    </modified>
    <modified>
      <diff>@@ -1,2 +1,2 @@
-&lt;span id=&quot;&lt;%= dom_id(row, &quot;row_tool_shed&quot;) %&gt;&quot; class=&quot;row_tool_shed&quot;&gt;
-&lt;/span&gt;
+&lt;div class=&quot;row_menu_stub&quot;&gt;&lt;a class=&quot;row_menu_stub_a&quot;&gt;*&lt;/a&gt;&lt;span id=&quot;&lt;%= dom_id(row, &quot;row_tool_shed&quot;) %&gt;&quot; class=&quot;row_tool_shed&quot;&gt;
+&lt;/span&gt;&lt;/div&gt;</diff>
      <filename>app/views/rows/_tool_shed.html.erb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>e085dea7d57746c1e47ae3db648921ab2f4db10f</id>
    </parent>
  </parents>
  <author>
    <name>Mark Anderson</name>
    <email>wayoutwest@gmail.com</email>
  </author>
  <url>http://github.com/pmark/jivepages/commit/a3b7ac7423e102fa9cc1086ec11f3f72b7261508</url>
  <id>a3b7ac7423e102fa9cc1086ec11f3f72b7261508</id>
  <committed-date>2008-06-07T00:58:03-07:00</committed-date>
  <authored-date>2008-06-07T00:58:03-07:00</authored-date>
  <message>Much better row menu; Main menu with tabs for Page, Site, Permissions, Collaborators, Visitors.</message>
  <tree>dc93b27779d1adb64df064b69b4055c9729bf1c7</tree>
  <committer>
    <name>Mark Anderson</name>
    <email>wayoutwest@gmail.com</email>
  </committer>
</commit>
