docdoku/docdoku-plm

Parts checked out not dispear in table when check in

Opened this issue · 3 comments

In check out view from part's module,the part doesn't disappear from table when we pass the part to check in state.

PS : Behavior is not the same than from document's module

Capture d’écran de 2019-03-29 15-56-29

There are 2 choices to resolve this bug:
The first solution could be to add window.location.reload(true) at the end of allCheckinDone() function in part_content.js class for to refresh the current web page.

Second solution is to refactor all of part_content.js class but to modify part_content.js means to change dependencies of the class(cf content_document_list.js) and could be impact other classes

There might be more than 2 solutions. What about calling Backbone.Collection.remove after the checkin is done ?