diff --git a/cms/static/js/views/overview.js b/cms/static/js/views/overview.js
index ea4a55e158..1425bb5333 100644
--- a/cms/static/js/views/overview.js
+++ b/cms/static/js/views/overview.js
@@ -284,7 +284,7 @@ define(["domReady", "jquery", "jquery.ui", "gettext", "js/views/feedback_notific
$(ele).data('child-selector', type);
var draggable = new Draggabilly(ele, {
handle: handleClass,
- axis: 'y'
+ containment: '.wrapper-dnd'
});
draggable.on('dragStart', _.bind(overviewDragger.onDragStart, overviewDragger));
draggable.on('dragMove', _.bind(overviewDragger.onDragMove, overviewDragger));
diff --git a/cms/templates/edit_subsection.html b/cms/templates/edit_subsection.html
index 364411b01c..3ed4f6552e 100644
--- a/cms/templates/edit_subsection.html
+++ b/cms/templates/edit_subsection.html
@@ -21,9 +21,11 @@
-
-
- ${units.enum_units(subsection, subsection_units=subsection_units)}
+
+
+
+ ${units.enum_units(subsection, subsection_units=subsection_units)}
+
diff --git a/cms/templates/overview.html b/cms/templates/overview.html
index f075fd4e17..cfdb603107 100644
--- a/cms/templates/overview.html
+++ b/cms/templates/overview.html
@@ -138,87 +138,90 @@ require(["domReady!", "jquery", "js/models/location", "js/models/section", "js/v
-
- % for section in sections:
-
- <%include file="widgets/_ui-dnd-indicator-before.html" />
+
+
+ % for section in sections:
+
-
-
+ <%include file="widgets/_ui-dnd-indicator-before.html" />
-
-
-
- <%
- if section.start is not None:
- start_date_str = section.start.strftime('%m/%d/%Y')
- start_time_str = section.start.strftime('%H:%M')
- else:
- start_date_str = ''
- start_time_str = ''
- %>
- %if section.start is None:
-
${_("This section has not been released.")}
-
${_("Schedule")}
- %else:
-
${_("Will Release:")}
- ${date_utils.get_default_time_display(section.start)}
-
${_("Edit")}
- %endif
-
-
+
-
-
-
- % for subsection in section.get_children():
- -
-
- <%include file="widgets/_ui-dnd-indicator-before.html" />
-
-
-
-
-
-
-
-
+
+
+
+ <%
+ if section.start is not None:
+ start_date_str = section.start.strftime('%m/%d/%Y')
+ start_time_str = section.start.strftime('%H:%M')
+ else:
+ start_date_str = ''
+ start_time_str = ''
+ %>
+ %if section.start is None:
+
${_("This section has not been released.")}
+
${_("Schedule")}
+ %else:
+
${_("Will Release:")}
+ ${date_utils.get_default_time_display(section.start)}
+
${_("Edit")}
+ %endif
- ${units.enum_units(subsection)}
+
- <%include file="widgets/_ui-dnd-indicator-after.html" />
-
- % endfor
-
-
- <%include file="widgets/_ui-dnd-indicator-initial.html" />
-
-
-
+
+
+
+
+
+ % for subsection in section.get_children():
+ -
- <%include file="widgets/_ui-dnd-indicator-after.html" />
-
- % endfor
-
+ <%include file="widgets/_ui-dnd-indicator-before.html" />
+
+
+ ${units.enum_units(subsection)}
+
+ <%include file="widgets/_ui-dnd-indicator-after.html" />
+
+ % endfor
+ -
+ <%include file="widgets/_ui-dnd-indicator-initial.html" />
+
+
+
+
+ <%include file="widgets/_ui-dnd-indicator-after.html" />
+
+ % endfor
+
+