valendesigns/option-tree — pull request #115 by jomaddim (2013-06-12 14:02:16+00:00)
Title: Fix missing "Send to OptionTree" button in Custom Post Types with no "editor"

Hey there,

Registering a custom post type with no support for the editor (see post_type_support) will cause the _"Send to OptionTree"_ button (originally _"Insert into Post"_) to be missing from the Media Library tab (in the Media Upload iframe):

I've encountered this issue with OptionTree when using the "Upload" option type in a metabox.

This fixes it by adding the button if it is missing.
Cheers!
JoNa