From 9f963e3b13ba6b024b1b7c362f58d8ba16f98ee8 Mon Sep 17 00:00:00 2001 From: mutantsan Date: Mon, 29 Apr 2024 14:55:26 +0300 Subject: [PATCH] update: do not cache tour list --- ckanext/tour/assets/js/tour-init.js | 3 ++- setup.cfg | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ckanext/tour/assets/js/tour-init.js b/ckanext/tour/assets/js/tour-init.js index 1442fc6..421c64b 100644 --- a/ckanext/tour/assets/js/tour-init.js +++ b/ckanext/tour/assets/js/tour-init.js @@ -21,7 +21,8 @@ this.ckan.module('tour-init', function (jQuery) { $.ajax({ url: this.sandbox.url("/api/action/tour_list"), - success: this._onSuccessRequest + cache: false, + success: this._onSuccessRequest, }); }, diff --git a/setup.cfg b/setup.cfg index a872049..97bacf4 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = ckanext-tour -version = 0.1.0 +version = 0.1.1 description = Create an interactive tour that will help users familiarize themselves with the important features of your portal long_description = file: README.md long_description_content_type = text/markdown