DEV: global s/this.get\("(\w+)"\)/this.$1 (#7592)

This commit is contained in:
Joffrey JAFFEUX
2019-05-27 10:15:39 +02:00
committed by GitHub
parent 170c66c190
commit bfea922167
389 changed files with 2448 additions and 2460 deletions

View File

@ -32,11 +32,11 @@ export default Ember.Controller.extend({
actions: {
saveChanges() {
const embedding = this.get("embedding");
const embedding = this.embedding;
const updates = embedding.getProperties(embedding.get("fields"));
this.set("saved", false);
this.get("embedding")
this.embedding
.update(updates)
.then(() => this.set("saved", true))
.catch(popupAjaxError);