[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:
Victor Woeltjen 2015-11-20 17:26:43 -08:00
parent fd3059b380
commit 0635e7c38e

View File

@ -57,7 +57,7 @@
"properties": [ "properties": [
{ {
"name": "Start date/time", "name": "Start date/time",
"control": "datetime", "control": "timeline-datetime",
"required": true, "required": true,
"property": [ "start" ], "property": [ "start" ],
"options": [ "SET" ] "options": [ "SET" ]
@ -83,7 +83,7 @@
"properties": [ "properties": [
{ {
"name": "Start date/time", "name": "Start date/time",
"control": "datetime", "control": "timeline-datetime",
"required": true, "required": true,
"property": [ "start" ], "property": [ "start" ],
"options": [ "SET" ] "options": [ "SET" ]
@ -271,7 +271,7 @@
], ],
"controls": [ "controls": [
{ {
"key": "datetime", "key": "timeline-datetime",
"templateUrl": "templates/controls/datetime.html" "templateUrl": "templates/controls/datetime.html"
}, },
{ {