From: Damyan Ivanov Date: Wed, 16 Feb 2022 17:16:22 +0000 (+0000) Subject: check lists and list versions after updating an item X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=d7c13bc02810038976dc5e7b7ceb4b57782ecdac;p=lsl.git check lists and list versions after updating an item --- diff --git a/public/javascripts/lsl.js b/public/javascripts/lsl.js index ef6f9a8..b195647 100644 --- a/public/javascripts/lsl.js +++ b/public/javascripts/lsl.js @@ -143,7 +143,12 @@ function handle_list_item_state_changed(ev) { version: item_data.version, done: cb.prop('checked')}) } - ); + ) + .done(function(resp){ + item_data.version = resp.version; + got_lists_version(resp.lists_version); + got_list_version(resp.list_version); + }); } $(function(){ uri_base = $('#page').attr('lsl-uri-base');