add date
This commit is contained in:
parent
42dcd6f95c
commit
3905ddb9fc
1 changed files with 1 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
oml.ui.annotation = function(data, $iframe) {
|
oml.ui.annotation = function(data, $iframe) {
|
||||||
|
data.created = data.created || (new Date).toISOString();
|
||||||
var $arrayEditable = Ox.ArrayEditable({
|
var $arrayEditable = Ox.ArrayEditable({
|
||||||
editing: true,
|
editing: true,
|
||||||
type: 'textarea'
|
type: 'textarea'
|
||||||
|
|
Loading…
Reference in a new issue