ezsystems/ezpublish — pull request #282 by jeromegamez (2012-01-19 17:06:56+00:00)
Title: Fixed check if checkbox is checked

What a nice commit message :). Here's the thing:

Depending on the jQuery version defined in ezjscore (1.4.x or 1.6.x), `$(this).prop('checked')` returns either `true` (1.4.x) or `"checked"` (1.6.x).

By removing the explicit check for "true", both cases can be matched.