« first day (1747 days earlier)      last day (2370 days later) » 

 
6 hours later…
 
1 hour later…
@Queen k
@Queen k
09:24
I do have tried some work around but really it didn't help in any how
e.target.matches is not a function

document.addEventListener("RW759_connectExtension", function (event: any) {
// if(event.target.matches('body.noQuickBag')) {
// window.MACYS = event.detail;
console.log('event recieved', event.target.matches('body.noQuickBag'))
// }
}, false);
1 message moved from JavaScript
user8639911
10:15
var data = {};
data.id = TchekID;
data.RoiIsCreated = true;
data.x = ROI.x;
data.y = ROI.y;
data.width = ROI.width;
data.height = ROI.height;
var url = 'http://localhost:8080/tcheks/inspecteur/' + TchekID;

console.log(data);
$.ajax({
type: 'POST',
data: JSON.stringify(data),
contentType: 'application/json',
url: url,
success: function(data) {
console.log('success');
}
});
1 message moved from JavaScript
 
2 hours later…
@Queen k
 
1 hour later…
@Natty tp
15:56
Is there a benefit to using an action on an onclick event vs just using an onclick method? I'm working with a legacy system and I'm seeing in the code that buttons have a action associated with them and also have said action's action.onexecute() associated with the button's onclick event. ... I'm trying to figure out, from first glance, imo this is overkill, pick one or the other, but wanted to see what y'all thought. Also, the actions aren't being used anywhere else in the code.
1 message moved from Lounge<C++>
 
2 hours later…
 
1 hour later…
@Natty tp

« first day (1747 days earlier)      last day (2370 days later) »