From: Jakub Vrana Date: Sat, 27 Oct 2018 18:13:55 +0000 (+0200) Subject: Fix MariaDB link to numeric types X-Git-Tag: v4.7.0~9 X-Git-Url: https://git.joonet.de/?a=commitdiff_plain;h=83a0776e8d2a441dd5844111f96dc73dc0dcf0a9;p=adminer.git Fix MariaDB link to numeric types --- diff --git a/adminer/static/editing.js b/adminer/static/editing.js index 8ef5a93d..f4e7ac38 100644 --- a/adminer/static/editing.js +++ b/adminer/static/editing.js @@ -15,7 +15,10 @@ function bodyLoad(version, maria) { key = 0; if (maria) { for (var i = 1; i < obj.length; i++) { - obj[i] = obj[i].replace(/\.html/, '/'); + obj[i] = obj[i] + .replace(/\.html/, '/') + .replace(/(numeric)(-type-overview)/, (maria ? '$1-data$2' : '$&')) // MariaDB + ; } } }