[TikiWiki-commits] [Git][tikiwiki/tiki][29.x] [BP][FIX] Initialize scriptStartDate to avoid ReferenceError

"ushindi bienvenu \(@usbbush\) via TikiWiki-cvs" <[email protected]>
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <691f053f2dfe4_2a31757c765a5@gitlab-sidekiq-low-urgency-cpu-bound-v2-6f7cb86f8c-nv8sf.mail>

ushindi bienvenu pushed to branch 29.x at Tiki Wiki CMS Groupware / Tiki


Commits:
f218aae3 by Yves Ngalamulume at 2025-11-20T12:02:25+00:00
[BP][FIX] Initialize scriptStartDate to avoid ReferenceError
---
* [FIX] Initialize scriptStartDate to avoid ReferenceError
---
* [FIX] Initialize scriptStartDate to avoid ReferenceError

* [FIX] Remove the file that is not part of the MR

* [FIX] Remove the file that is not part of the MR

See merge request tikiwiki/tiki!8396

See merge request tikiwiki/tiki!9052

- - - - -


1 changed file:

- lib/jquery_tiki/tiki-confirm.js


Changes:

=====================================
lib/jquery_tiki/tiki-confirm.js
=====================================
@@ -294,6 +294,7 @@ $("[data-bs-toggle='popover']").on('shown.bs.popover', function() {
  * @returns {boolean}
  */
 function checkTimeout() {
+    const scriptStartDate = new Date();
     if ((Date.now() - scriptStartDate.getTime()) / 1000 < jqueryTiki.securityTimeout) {
         return true;
     } else {



View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/f218aae3353c122d136152aca00aa365fc7e041c

-- 
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/f218aae3353c122d136152aca00aa365fc7e041c
You're receiving this email because of your account on gitlab.com.

_______________________________________________
TikiWiki-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.