Minor custom field fixes
Dieser Commit ist enthalten in:
Ursprung
b383538a6b
Commit
f2ef53cff7
2 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen
|
@ -106,13 +106,13 @@ export default Component.extend({
|
||||||
}
|
}
|
||||||
|
|
||||||
this.saveField(data).then((result) => {
|
this.saveField(data).then((result) => {
|
||||||
|
this.set('saving', false);
|
||||||
if (result.success) {
|
if (result.success) {
|
||||||
this.set('saveIcon', 'check');
|
this.set('field.edit', false);
|
||||||
} else {
|
} else {
|
||||||
this.set('saveIcon', 'times');
|
this.set('saveIcon', 'times');
|
||||||
}
|
}
|
||||||
setTimeout(() => this.set('saveIcon', null), 10000);
|
setTimeout(() => this.set('saveIcon', null), 10000);
|
||||||
this.set('saving', false);
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,7 +15,7 @@ en:
|
||||||
unsupported_type: "%{type} is not a supported custom field type"
|
unsupported_type: "%{type} is not a supported custom field type"
|
||||||
name_invalid: "'%{name}' is not a valid custom field name"
|
name_invalid: "'%{name}' is not a valid custom field name"
|
||||||
name_too_short: "'%{name}' is too short for a custom field name (min length is #{min_length})"
|
name_too_short: "'%{name}' is too short for a custom field name (min length is #{min_length})"
|
||||||
name_already_taken: "'%{value}' is already taken as a custom field name"
|
name_already_taken: "'%{name}' is already taken as a custom field name"
|
||||||
save_default: "Failed to save custom field '%{name}'"
|
save_default: "Failed to save custom field '%{name}'"
|
||||||
|
|
||||||
field:
|
field:
|
||||||
|
|
Laden …
In neuem Issue referenzieren