mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
parent
a2fc6db470
commit
449f655f46
1 changed files with 2 additions and 0 deletions
|
@ -195,6 +195,7 @@ define(function (require) {
|
|||
|
||||
register: function (data) {
|
||||
var self = this;
|
||||
data.creationDate = new Date().toISOString();
|
||||
this.set('registrationData', data);
|
||||
this.set('status', 'registered');
|
||||
self.saveToBrowser();
|
||||
|
@ -203,6 +204,7 @@ define(function (require) {
|
|||
|
||||
confirmPurchase: function (data) {
|
||||
var self = this;
|
||||
data.creationDate = new Date().toISOString();
|
||||
this.set('registrationData', data);
|
||||
this.set('status', 'purchased');
|
||||
this.set('registrationSent', false);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue