Skip to content

Commit

Permalink
Merge branch 'develop' of http://10.208.122.87/iemrv1/helpline-1097-ui
Browse files Browse the repository at this point in the history
…into develop
  • Loading branch information
Diamond Khanna (Digital) authored and Diamond Khanna (Digital) committed Jul 5, 2018
2 parents 88aaebd + fe94fc1 commit cd87c18
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/dashboard/dashboard.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -212,16 +212,16 @@ export class dashboardContentClass implements OnInit {
// testing event
testEvent() {
// var event = new Event('message');
let date = new Date().getTime().toString().slice(0, 10);
let event = new CustomEvent('message', {
detail: {
data: 'Accept|9845098451|1489742008.5180000000|INBOUND',
data: 'Accept|9845098451|' + date + '.' + date + '|INBOUND',
time: new Date(),
},
bubbles: true,
cancelable: true
});
// document.dispatchEvent(event);

}

listener(event) {
Expand Down

0 comments on commit cd87c18

Please sign in to comment.