Project

General

Profile

« Previous | Next » 

Revision 5f58478b

Added by Amos Benari about 10 years ago

fixes #5132 URL doesn't update correctly after creating a new host

View differences:

app/assets/javascripts/host_edit.js
$("#host-progress").hide();
$('#content').replaceWith($("#content", response));
$(document.body).trigger('ContentLoad');
if($("[data-history-url]").exists()){
history.pushState({}, "Host show", $("[data-history-url]").data('history-url'));
}
}
},
error: function(response){

Also available in: Unified diff