[TikiWiki-commits] [Git][tikiwiki/tiki][master] [FIX] Initialize scriptStartDate to avoid ReferenceError
"Bruno Kambere \(@kambereBr\) via TikiWiki-cvs" <[email protected]>
| Newsgroups | gmane.comp.cms.tiki.cvs |
|---|---|
| Message-ID | <68c1e74e41c5b_2cddf9057728@gitlab-sidekiq-low-urgency-cpu-bound-v2-856dd689b5-7md4p.mail> |
Bruno Kambere pushed to branch master at Tiki Wiki CMS Groupware / Tiki
Commits:
ea2fb236 by Yves Ngalamulume at 2025-09-10T23:53:35+03:00
[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
- - - - -
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/ea2fb236beb948ed8157cf48ec671e71c85e1a54
--
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/ea2fb236beb948ed8157cf48ec671e71c85e1a54
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