fancyapps/fancyBox — Issue #5: Option Keys Fails when content is any form element
Author: yfonseca
Created: 2011-11-22 13:23:36+00:00
State: open

The orignal code is like that:

if ($.inArray(e.target.tagName.toLowerCase, ['input', 'textarea', 'select', 'button']) > -1) {return;}

The function "e.target.tagName.toLowerCase" must be written like this: "e.target.tagName.toLowerCase()"
Otherwise the form element content can not be editable.