[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": [
{
"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"
},
{