Parts checked out not dispear in table when check in
Opened this issue · 3 comments
ludoBarel commented
Tahiana3122 commented
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
mguimard commented
There might be more than 2 solutions. What about calling Backbone.Collection.remove after the checkin is done ?
Tahiana3122 commented
I am not very familiar with backbone but we can try this solution,
The problem is after checkin,, the view doesn't change but the number in
the DB decrease, I don't konw if Backbone.Collection.remove refresh the view
Best regards,
Tahiana
Le mar. 21 mai 2019 à 13:22, Morgan Guimard <notifications@github.com> a
écrit :
… There might be more than 2 solutions. What about calling
Backbone.Collection.remove after the checkin is done ?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1207?email_source=notifications&email_token=AL2WWUDISXUENNWZEMQNRI3PWPLPLA5CNFSM4HCKM6M2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODV3S6OY#issuecomment-494350139>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AL2WWUD5ZQATTYKIX532KQ3PWPLPLANCNFSM4HCKM6MQ>
.
--
Tahiana Ramamonjisoa
Consultant / Ingénieur Senior
*DocDoku* - http://www.docdoku.com
*Award Winning platform for digital enterprise applications*
Toulouse : 76 Allée Jean Jaurès - 31000 Toulouse - Tel : + 335 61 72 24 09
Paris : 41 rue de la Chaussée d’Antin, 75009 Paris - Tel : + 331 85 09 69 44