[Timeline] Disambiguate datetime control
Timeline uses a custom date-time control on creation; use a distinct key for this to avoid a naming collision with platform's datetime. Addresses abnormal behavior identified in nasa/openmctweb#208
This commit is contained in:
@@ -57,7 +57,7 @@
|
||||
"properties": [
|
||||
{
|
||||
"name": "Start date/time",
|
||||
"control": "datetime",
|
||||
"control": "timeline-datetime",
|
||||
"required": true,
|
||||
"property": [ "start" ],
|
||||
"options": [ "SET" ]
|
||||
@@ -83,7 +83,7 @@
|
||||
"properties": [
|
||||
{
|
||||
"name": "Start date/time",
|
||||
"control": "datetime",
|
||||
"control": "timeline-datetime",
|
||||
"required": true,
|
||||
"property": [ "start" ],
|
||||
"options": [ "SET" ]
|
||||
@@ -271,7 +271,7 @@
|
||||
],
|
||||
"controls": [
|
||||
{
|
||||
"key": "datetime",
|
||||
"key": "timeline-datetime",
|
||||
"templateUrl": "templates/controls/datetime.html"
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user