mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
FEATURE: Ability to scrub titles when importing embeddable content
This commit is contained in:
parent
aff1efc1f8
commit
884bdf7240
8 changed files with 45 additions and 6 deletions
|
@ -38,9 +38,7 @@ export default Ember.Controller.extend({
|
|||
const updates = embedding.getProperties(embedding.get('fields'));
|
||||
|
||||
this.set('saved', false);
|
||||
this.get('embedding').update(updates).then(() => {
|
||||
this.set('saved', true);
|
||||
}).catch(popupAjaxError);
|
||||
this.get('embedding').update(updates).then(() => this.set('saved', true)).catch(popupAjaxError);
|
||||
},
|
||||
|
||||
addHost() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue