You've already forked phpmyadmin
mirror of
https://github.com/phpmyadmin/phpmyadmin.git
synced 2026-10-28 07:41:55 +03:00
#4917 Changing time with datetime picker gives JS error
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
This commit is contained in:
@@ -219,7 +219,7 @@ function verificationsAfterFieldChange(urlField, multi_edit, theType)
|
||||
else if (theType.substring(0,7) === "varchar") {
|
||||
charExceptionHandling = theType.substring(8,9);
|
||||
}
|
||||
if (target.name.substring(0, 6) === "fields") {
|
||||
if (target.name && target.name.substring(0, 6) === "fields") {
|
||||
// validate for date time
|
||||
if (theType == "datetime" || theType == "time" || theType == "date" || theType == "timestamp") {
|
||||
$this_input.rules("add", {
|
||||
|
||||
Reference in New Issue
Block a user