Item12952: Fix setting of pending boolean

The javascript coded to set a checkbox is passed either true or false,
not "checked" or "".