diff --git a/adminer/create.inc.php b/adminer/create.inc.php
index 88c0e059..3fc2c0a8 100644
--- a/adminer/create.inc.php
+++ b/adminer/create.inc.php
@@ -1,6 +1,9 @@
$val) {
@@ -197,7 +200,7 @@ if (support("partitioning")) {
print_fieldset("partition", lang('Partition by'), $row["partition_by"]);
?>
- "") + $partition_by, $row["partition_by"], "partitionByChange(this);") . doc_link("partitioning-types.html"); ?>
+" . optionlist(array("" => "") + $partition_by, $row["partition_by"]) . ""; ?>
(">)
: " value="">
>
diff --git a/adminer/static/editing.js b/adminer/static/editing.js
index 6ed4e717..00278bb0 100644
--- a/adminer/static/editing.js
+++ b/adminer/static/editing.js
@@ -443,6 +443,7 @@ function partitionByChange(el) {
var partitionTable = /RANGE|LIST/.test(selectValue(el));
alterClass(el.form['partitions'], 'hidden', partitionTable || !el.selectedIndex);
alterClass(document.getElementById('partition-table'), 'hidden', !partitionTable);
+ helpClose();
}
/** Add next partition row
diff --git a/externals/jush b/externals/jush
index 7df46998..9493dcc0 160000
--- a/externals/jush
+++ b/externals/jush
@@ -1 +1 @@
-Subproject commit 7df46998eca7ae1fd56f6ec48d7bf08dea09127d
+Subproject commit 9493dcc08e23313562d6860d3fa0592e40ed2cf8