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

"luci \(@luciash\) via TikiWiki-cvs" <[email protected]>
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <6964f80988563_2c180e0c368fb@gitlab-sidekiq-low-urgency-cpu-bound-v2-5f7d6469f9-fnvph.mail>

luci pushed to branch 28.x at Tiki Wiki CMS Groupware / Tiki


Commits:
6c1a257e by Yves Ngalamulume at 2026-01-12T13:25:48+00:00
[BP][FIX] Initialize scriptStartDate to avoid ReferenceError
---
* [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

See merge request tikiwiki/tiki!9102

- - - - -


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/6c1a257e56e7ef70bec8908341e88d6d9feb7dbb

-- 
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/6c1a257e56e7ef70bec8908341e88d6d9feb7dbb
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.