Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

Commit

Permalink
travis error for double quotes resolved
Browse files Browse the repository at this point in the history
  • Loading branch information
manaswinidas committed Mar 8, 2017
1 parent 6af3e2c commit c9b1da1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
11 changes: 3 additions & 8 deletions app/patients/edit/controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -645,14 +645,9 @@ export default AbstractEditController.extend(BloodTypes, DiagnosisActions, Retur

afterUpdate(record) {
this._updateSequence(record).then(() => {
this.send('openModal', 'dialog', Ember.Object.create({
title: this.get('i18n').t('patients.titles.savedPatient'),
message: this.get('i18n').t('patients.messages.savedPatient', record),
updateButtonAction: 'returnToPatient',
updateButtonText: this.get('i18n').t('patients.buttons.backToPatients'),
cancelButtonText: this.get('i18n').t('buttons.close')
}));
$('.message').show();
$('.message').text(this.get('i18n').t('patients.messages.savedPatient', record));
$(".message").delay(3000).fadeOut(100);
});
}

});
1 change: 1 addition & 0 deletions app/patients/edit/template.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -464,4 +464,5 @@
{{/unless}}
</div>
{{/em-form}}
<div class="alert alert-success message" style="display:none;"></div>
{{/edit-panel}}

0 comments on commit c9b1da1

Please # to comment.