From aa74a9fc436ceb2cacc0f389ce275962cc173435 Mon Sep 17 00:00:00 2001 From: j Date: Sun, 10 Jan 2016 22:12:07 +0530 Subject: [PATCH] clear cache after adding new books --- static/js/oml.js | 1 + 1 file changed, 1 insertion(+) diff --git a/static/js/oml.js b/static/js/oml.js index 02b265f..d5b8ea2 100644 --- a/static/js/oml.js +++ b/static/js/oml.js @@ -106,6 +106,7 @@ event.preventDefault(); oml.upload(event.originalEvent.dataTransfer.files, function(response) { setTimeout(function() { + Ox.Request.clearCache(); oml.UI.set({listSelection: response.data.ids}); oml.reloadList(); }, 50);