ncrossland / ManagerManager

Customise the ModX Evo (1.x) Manager
9 stars 4 forks source link

Selector is not valid in jQuery 1.8.1 #6

Closed Jako closed 6 years ago

Jako commented 12 years ago

The selector inside the silblings call is not valid jQuery 1.8.1 and gives an error.

$j("'.$fieldtype.'[name='.$fieldname.']").siblings("img[style:contains(\'cursor:help\')]") …

kulmjens commented 11 years ago

A workaround that worked for me is to replace [style:contains(\'cursor:help\')] with [style*=\'cursor\\\\:help\'] which I think does the same. :-)