mirror of
https://github.com/discourse/discourse.git
synced 2025-05-25 00:32:52 +08:00
FEATURE: Ability to scrub titles when importing embeddable content
This commit is contained in:
@ -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() {
|
||||
|
Reference in New Issue
Block a user