mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-09-24 18:37:52 +02:00
datetime-picker.js: Don't do anything with native inputs
fixes #4442 (cherry picked from commit bf229c97b8e2f1add700d245e8f405bde6c19caf)
This commit is contained in:
parent
9e07db2e8c
commit
00a2572db1
@ -66,6 +66,13 @@
|
||||
_this.cleanupPickers(containerId);
|
||||
|
||||
$.each(inputs, function () {
|
||||
if (this.type !== 'text') {
|
||||
// Ignore native inputs. Browser widgets are (mostly) superior.
|
||||
// TODO: This makes the type distinction below useless.
|
||||
// Refactor this once we decided how we continue here in the future.
|
||||
return;
|
||||
}
|
||||
|
||||
var server_format = _this.server_full_format;
|
||||
if (this.type === 'date') {
|
||||
server_format = _this.server_date_format;
|
||||
|
Loading…
x
Reference in New Issue
Block a user