Pass frm to open_mapped_doc
Merge pull request #1649 from anandpdoshi/hotfix

Pass frm to open_mapped_doc