From 9587ad1acf3b9946504425b4ddc07e4f48d1e442 Mon Sep 17 00:00:00 2001
From: ulrich
Date: Thu, 07 Jan 2021 11:59:56 +0000
Subject: [PATCH] Kommentar ergaenzt

---
 web/ui2/js/data.js |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/web/ui2/js/data.js b/web/ui2/js/data.js
index e819b0c..821ba31 100644
--- a/web/ui2/js/data.js
+++ b/web/ui2/js/data.js
@@ -85,7 +85,7 @@
   };
 
   this.miniurl = function () {
-    var userid = $('#userMenu').text();
+    // var userid = $('#userMenu').text();
     if (self.fext === '') {
       //self.fext = '';
       var dotpos = self.fnx.indexOf('.');
@@ -95,14 +95,14 @@
         self.fext = fny.substr(dotpos);
       }
     }
-    var path = fm_get_path(userid);
+    var path = fm_get_path(app.userid);
     var imgurl = loc + path + '/' + self.fnx + '_tn' + self.fext;
     return imgurl;
 
   };
 
   this.bildurl = function () {
-    var userid = $('#userMenu').text();
+    // var userid = $('#userMenu').text();
     if (self.fext === '') {
       //self.fext = '';
       var dotpos = self.fnx.indexOf('.');
@@ -112,7 +112,7 @@
         self.fext = fny.substr(dotpos);
       }
     }
-    var path = fm_get_path(userid);
+    var path = fm_get_path(app.userid);
     var imgurl = loc + path + '/' + self.fnx + self.fext;
     return imgurl;
   };

--
Gitblit v1.9.3