I'm receiving an error message when trying to open the Basket of Tasks
Uncaught TypeError: Cannot read property 'top' of undefined
at RMPBasket.RMPBasket.display (basket.js?vr=2¤t=20180911100550:1)
at Object.success (basket.js?vr=2¤t=20180911100550:1)
at u (jquery-3.3.1.min.js?P_mode=TEST&P_version=&vr=2¤t=20180911100550:2)
at Object.fireWith [as resolveWith] (jquery-3.3.1.min.js?P_mode=TEST&P_version=&vr=2¤t=20180911100550:2)
at k (jquery-3.3.1.min.js?P_mode=TEST&P_version=&vr=2¤t=20180911100550:2)
at XMLHttpRequest.<anonymous> (jquery-3.3.1.min.js?P_mode=TEST&P_version=&vr=2¤t=20180911100550:2)
at XMLHttpRequest.nrWrapper (1?instance=f8faa630-bb3f-11e8-a873-06d3beb2c537&P_mode=TEST:21)
The Basket works partially showing only the first column with task name and task link. The other columns, header and close button are not being displayed.
(See attached screenshot)
I had to replace the version of JQueryUI from RMP default 1.10.1 to 1.12.1 (due to compatibility issues with some components on my web interface)
I am using some Jquery plugins that works only with latest version of JQuery and JQueryUI
Is there a way to have the RMP Basket working with latest JQuery UI 1.12.1 ?
Thanks in advance
Regards,
Luiz
If you check the attachments I sent you will see that both JQuery and JQuery UI scripts are still in the application. The basket is visible.
The scripts were not removed. I am using a newer version and this was my question:
Is it possible to make Basket work with the latest version of JQuery UI (1.12.1) or we are forced to use an outdated library that causes many incompatibility issues with other JQuery plugins if we need to continue using the basket function?
Thanks in advance
Luiz
--
Fujitsu - RunMyProcess
---
You received this message because you are subscribed to the Google Groups "Fujitsu RunMyProcess Developer Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to supportforum...@runmyprocess.com.
To post to this group, send email to suppor...@runmyprocess.com.
Visit this group at https://groups.google.com/a/runmyprocess.com/group/supportforum/.
To view this discussion on the web visit https://groups.google.com/a/runmyprocess.com/d/msgid/supportforum/21c4ecf5-18c2-4f0f-a49d-cb60175806b0%40runmyprocess.com.
For more options, visit https://groups.google.com/a/runmyprocess.com/d/optout.
I removed all JS libraries from my project to identify which one was causing the issue. I realized that the error only happens when I add the following dependency to my project:
https://cdn.jsdelivr.net/npm/gi...@1.9.6/js/gijgo.min.js
(Please, see attached screenshoot)
This is required to create a Datagrid
The problem seems to be inside basket.js line 311:
var s = A.offset().top - Math.max(0, ($(window).height() - A.height()) / 2) - $(window).scrollTop();
Variable A, declared previously is null or undefined:
var A = $('[aria-describedby="rmp_large_basket"]');
For some reason, JQuery cannot find DIV element with id = "rmp_large_basket"
As it happens only when I add the datagarid JS I mentioned, it looks like a conflict.
Is there a way for me to override basket.js with a my own version? It would be very useful adding more debug code like console.log(...), if/else, etc.
Regards,
Luiz
--
Fujitsu - RunMyProcess
---
You received this message because you are subscribed to the Google Groups "Fujitsu RunMyProcess Developer Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to supportforum...@runmyprocess.com.
To post to this group, send email to suppor...@runmyprocess.com.
Visit this group at https://groups.google.com/a/runmyprocess.com/group/supportforum/.
To view this discussion on the web visit https://groups.google.com/a/runmyprocess.com/d/msgid/supportforum/4f14b9ef-66d1-4b91-885e-c777593c6669%40runmyprocess.com.
Regards
Luiz