changeset 7640:fa2f02020cc8 stable

files: fix State typo after d66201a7ce6 (Issue #343) History operations would fail with JavaScript errors.
author Mads Kiilerich <mads@kiilerich.com>
date Tue, 30 Apr 2019 19:03:27 +0200
parents 535f8d26ed31
children 6b7a0cd02857
files kallithea/templates/files/files.html
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/kallithea/templates/files/files.html	Wed Apr 17 21:10:55 2019 +0200
+++ b/kallithea/templates/files/files.html	Tue Apr 30 19:03:27 2019 +0200
@@ -101,7 +101,7 @@
         $files_data.css('opacity', '1.0');
         post_load_state(state);
     } else {
-        asynchtml(State.url, $files_data, function() {
+        asynchtml(state.url, $files_data, function() {
                   post_load_state(state);
                   var expire_on = new Date().getTime() + CACHE_EXPIRE;
                   CACHE[cache_key] = [expire_on, $files_data.html()];