foodcoop-adam / foodsoft

DEPRECATED, being merged in upstream. Web-based software for foodcoops - as used in NL.
http://foodcoop-adam.github.io/
Other
10 stars 3 forks source link

ordering doesn't work on certain computers #105

Closed wvengen closed 10 years ago

wvengen commented 10 years ago

When pressing the buttons in the group orders ordering screen, they do not respond when pressed on certain computers.

wvengen commented 10 years ago

Ok, on Chromium it turned out to be the uglified javascript of select2 (in the keycode definition block). Development environment worked, production not.

Found it! This is the offending line (only some \uxxxx give this problem):

var P = { \u2c6f: 0 };

The original surrounded the unicode character by double quotes, which is ok.

wvengen commented 10 years ago

Tried it with uglifier 2.4.0, and that procudes something like

var P = { Ⱥ: 0 };

which Chromium also borks on. The saga continues.