Closed allynt closed 7 years ago
D'oh! There is a simple reason for this. Upon a successful save, the JS code does the following:
if (old_realization_id != realization_id) {
$scope.reset_urls();
window.location = $scope.view_url;
}
else {
check_msg();
}
So, the page is only refreshed when the id changes which only happens when a new document is saved.
134ce8da75c0247c991c874201570c912425f7a2 fixed this in 2 ways:
view_url_dirname
in the q_edit_existing
view (to not include the model id)QModelReaizationDetail#put
view in "q_ng_edit.js"
WHO: @davidhassell
Rendering of document version is not being updated upon save. That is, the document version is correctly incremented, but the rendering of that version that appears in the lower right corner of the page only gets changed on a page refresh.