Revision 60e4da4c
Added by Amir Fefer over 5 years ago
app/assets/javascripts/host_edit.js | ||
---|---|---|
data: data,
|
||
complete: function(){},
|
||
error: function(jqXHR, status, error){
|
||
$('#network').html(Jed.sprintf(__("Error loading interfaces information: %s"), error));
|
||
$('#network').html(tfm.i18n.sprintf(__("Error loading interfaces information: %s"), error));
|
||
$('#network_tab a').addClass('tab-error');
|
||
},
|
||
success: function(result){
|
||
... | ... | |
}
|
||
},
|
||
error: function(request, status, error) {
|
||
setError(interface_ip, Jed.sprintf(__("Error generating IP: %s"), error));
|
||
setError(interface_ip, tfm.i18n.sprintf(__("Error generating IP: %s"), error));
|
||
},
|
||
complete: function () {
|
||
tfm.tools.hideSpinner();
|
Also available in: Unified diff
Fixes #17263 - move jed (i18n) to webpack