diff --git a/client/galaxy/scripts/mvc/form/form-section.js b/client/galaxy/scripts/mvc/form/form-section.js
index d964dd7d87c..33f75b5e492 100644
--- a/client/galaxy/scripts/mvc/form/form-section.js
+++ b/client/galaxy/scripts/mvc/form/form-section.js
@@ -26,7 +26,8 @@ var View = Backbone.View.extend({
},
/** Add a new input element */
- add: function(input_def) {
+ add: function(input) {
+ var input_def = jQuery.extend({}, input);
input_def.id = Utils.uid();
this.app.input_list[input_def.id] = input_def;
switch (input_def.type) {
diff --git a/client/galaxy/scripts/mvc/ui/ui-buttons.js b/client/galaxy/scripts/mvc/ui/ui-buttons.js
index 5c1cf2f11d0..3c0fb608d13 100644
--- a/client/galaxy/scripts/mvc/ui/ui-buttons.js
+++ b/client/galaxy/scripts/mvc/ui/ui-buttons.js
@@ -308,7 +308,7 @@ var ButtonMenu = ButtonDefault.extend({
this.$menu && this.$menu.remove();
if (this.collection.length > 0) {
this.$menu = $("
")
- .addClass("menu dropdown-menu")
+ .addClass("menu dropdown-menu dropdown-menu-right")
.addClass(`pull-${this.model.get("pull")}`)
.attr("role", "menu");
this.$el.append(this.$menu);
diff --git a/lib/galaxy/dependencies/pipfiles/develop/Pipfile b/lib/galaxy/dependencies/pipfiles/develop/Pipfile
index ce5e26ebb11..a5faf8865d6 100644
--- a/lib/galaxy/dependencies/pipfiles/develop/Pipfile
+++ b/lib/galaxy/dependencies/pipfiles/develop/Pipfile
@@ -19,7 +19,7 @@ selenium = "*"
testfixtures = "*"
watchdog = "*"
pygithub3 = {version = "*", markers = "python_version < '3'"}
-Sphinx = "*"
+Sphinx = "<1.7" # Docs do not build with sphinx 1.7 for some reason, can't find issue.
sphinx_rtd_theme = "*"
lxml = "*"
recommonmark = "*"
diff --git a/lib/galaxy/dependencies/pipfiles/develop/Pipfile.lock b/lib/galaxy/dependencies/pipfiles/develop/Pipfile.lock
index e95e0b96f08..dd42ce370c2 100644
--- a/lib/galaxy/dependencies/pipfiles/develop/Pipfile.lock
+++ b/lib/galaxy/dependencies/pipfiles/develop/Pipfile.lock
@@ -295,11 +295,11 @@
},
"sphinx": {
"hashes": [
- "sha256:5a1c9a0fec678c24b9a2f5afba240c04668edb7f45c67ce2ed008996b3f21ae2",
- "sha256:7a606d77618a753adb79e13605166e3cf6a0e5678526e044236fc1ac43650910"
+ "sha256:832bed0dc6099c2abca957d90ff55bc1a6ec4425c13fc144adbae68a970e3775",
+ "sha256:d5b91b4dad56ffc9f19425ebaa7bc23290a0a2e9035781d5bc54822384663277"
],
"index": "galaxy",
- "version": "==1.7.2"
+ "version": "==1.6.7"
},
"sphinx-rtd-theme": {
"hashes": [
diff --git a/lib/galaxy/dependencies/pipfiles/develop/pinned-requirements.txt b/lib/galaxy/dependencies/pipfiles/develop/pinned-requirements.txt
index d1cc8d071e9..f52de54eb2d 100644
--- a/lib/galaxy/dependencies/pipfiles/develop/pinned-requirements.txt
+++ b/lib/galaxy/dependencies/pipfiles/develop/pinned-requirements.txt
@@ -29,7 +29,7 @@ selenium==3.11.0
six==1.11.0
snowballstemmer==1.2.1
sphinx-rtd-theme==0.3.0
-sphinx==1.7.2
+sphinx==1.6.7
sphinxcontrib-websupport==1.0.1
testfixtures==6.0.0
twill==0.9.1; python_version < '3'