Fixed watcher changes
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
f25c8bb644
commit
934e057a67
|
@ -12,9 +12,10 @@ class Controller extends Section {
|
||||||
|
|
||||||
onSubmit() {
|
onSubmit() {
|
||||||
this.$.watcher.check();
|
this.$.watcher.check();
|
||||||
this.$.model.save().then(() =>
|
this.$.model.save().then(() => {
|
||||||
this.$.watcher.notifySaved()
|
this.$.watcher.notifySaved();
|
||||||
);
|
this.$.watcher.updateOriginalData();
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -4,9 +4,10 @@ import Section from 'salix/components/section';
|
||||||
export default class Controller extends Section {
|
export default class Controller extends Section {
|
||||||
onSubmit() {
|
onSubmit() {
|
||||||
this.$.watcher.check();
|
this.$.watcher.check();
|
||||||
this.$.model.save().then(() =>
|
this.$.model.save().then(() => {
|
||||||
this.$.watcher.notifySaved()
|
this.$.watcher.notifySaved();
|
||||||
);
|
this.$.watcher.updateOriginalData();
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -4,9 +4,10 @@ import Section from 'salix/components/section';
|
||||||
export default class Controller extends Section {
|
export default class Controller extends Section {
|
||||||
onSubmit() {
|
onSubmit() {
|
||||||
this.$.watcher.check();
|
this.$.watcher.check();
|
||||||
this.$.model.save().then(() =>
|
this.$.model.save().then(() => {
|
||||||
this.$.watcher.notifySaved()
|
this.$.watcher.notifySaved();
|
||||||
);
|
this.$.watcher.updateOriginalData();
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -4,9 +4,10 @@ import Section from 'salix/components/section';
|
||||||
class Controller extends Section {
|
class Controller extends Section {
|
||||||
onSubmit() {
|
onSubmit() {
|
||||||
this.$.watcher.check();
|
this.$.watcher.check();
|
||||||
this.$.model.save().then(() =>
|
this.$.model.save().then(() => {
|
||||||
this.$.watcher.notifySaved()
|
this.$.watcher.notifySaved();
|
||||||
);
|
this.$.watcher.updateOriginalData();
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -13,9 +13,10 @@ class Controller extends Section {
|
||||||
|
|
||||||
onSubmit() {
|
onSubmit() {
|
||||||
this.$.watcher.check();
|
this.$.watcher.check();
|
||||||
this.$.model.save().then(() =>
|
this.$.model.save().then(() => {
|
||||||
this.$.watcher.notifySaved()
|
this.$.watcher.notifySaved();
|
||||||
);
|
this.$.watcher.updateOriginalData();
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue