Post by alexmitev » Thu Aug 16, 2018 8:40 pm

Hello,
I just stumbled upon this very annoying and serious bug. One of my modifications has a lot of JavaScript/JQuery code, in it I have sth. like

Code: Select all

$.ajax({
...
}); 
notice the semicolon at the end of the ajax() call. When I reload the modifications, my modified file however contains

Code: Select all

$.ajax({
...
}
seems OC has somehow removed not only the semicolon, but also the closing bracket, which of course breaks all my JS code!
I noticed that if I omit the trailing semicolon, OC doesn't remove the closing bracket. What is the reason for this annoying behaviour?
I'm using OC Version 2.0.3.1

Regards,
Alex

New member

Posts

Joined
Wed Jan 19, 2011 10:38 pm
Who is online

Users browsing this forum: No registered users and 33 guests