mirror of
https://github.com/vrana/adminer.git
synced 2025-08-12 01:24:17 +02:00
Fix function change with set data type (thanks to osoba hrdelnata)
This commit is contained in:
@@ -540,6 +540,7 @@ function editingKeydown(event) {
|
|||||||
*/
|
*/
|
||||||
function functionChange() {
|
function functionChange() {
|
||||||
var input = this.form[this.name.replace(/^function/, 'fields')];
|
var input = this.form[this.name.replace(/^function/, 'fields')];
|
||||||
|
if (input) { // undefined with the set data type
|
||||||
if (selectValue(this)) {
|
if (selectValue(this)) {
|
||||||
if (input.origType === undefined) {
|
if (input.origType === undefined) {
|
||||||
input.origType = input.type;
|
input.origType = input.type;
|
||||||
@@ -554,6 +555,7 @@ function functionChange() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
oninput({target: input});
|
oninput({target: input});
|
||||||
|
}
|
||||||
helpClose();
|
helpClose();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -1,6 +1,7 @@
|
|||||||
Adminer 4.6.4-dev:
|
Adminer 4.6.4-dev:
|
||||||
Fix inline editing of empty cells (regression from 4.6.3)
|
Fix inline editing of empty cells (regression from 4.6.3)
|
||||||
Allow adding more than two indexes and forign key columns at a time (regression from 4.4.0)
|
Allow adding more than two indexes and forign key columns at a time (regression from 4.4.0)
|
||||||
|
Fix function change with set data type
|
||||||
|
|
||||||
Adminer 4.6.3 (released 2018-06-28):
|
Adminer 4.6.3 (released 2018-06-28):
|
||||||
Disallow using password-less databases
|
Disallow using password-less databases
|
||||||
|
Reference in New Issue
Block a user