|
<< Click to Display Table of Contents >> Navigation: Telegram > 2020 > 12 > 11 > Telegram_2020-12-11T11 |
2020-12-11T11:15:01
let me do that
2020-12-11T11:19:38
screenshot
2020-12-11T11:20:04
the doEditOpportunity function is the problem
2020-12-11T11:22:21
The screenshot is cropped. Can you copy and paste to me the complete source between the script tags?
2020-12-11T11:23:04
1 sec
2020-12-11T11:23:46
here it is
2020-12-11T11:23:48
function doEditOpportunity(pID){executeAjaxEvent(\&option=\+pID, null,\FFMANAGEOPPORTUNTIES.doEditOpportunity\, true, null, false);
return true;)
2020-12-11T11:26:25
you have a ) instead of a }
2020-12-11T11:27:31
indeed
2020-12-11T11:27:43
struggling with my old glasses :)
2020-12-11T11:27:47
literally
2020-12-11T11:28:10
There are online JS linters and syntax checkers you can use in such cases. I just formatted it a bit though and saw it pretty quickly
2020-12-11T11:28:11
??
2020-12-11T11:29:39
cool!
2020-12-11T11:29:50
now let me see if the callback executes
2020-12-11T11:30:15
in web console I dont see syntax errors any more
2020-12-11T11:39:22
awesome!
2020-12-11T11:39:51
callback is executing!!!
2020-12-11T11:40:20
you're the man, Chad
2020-12-11T11:40:30
??
2020-12-11T11:40:33
thanks a lot
2020-12-11T11:43:25
??