Skip to content
Browse files

changed post type for metabox

  • Loading branch information...
1 parent 43da70a commit 05d4e31f076bc414ce04fdd5fa930fdc9d63bc7e @davidgtonge committed Jul 16, 2011
Showing with 4 additions and 1 deletion.
  1. +3 −0 .idea/misc.xml
  2. +1 −1 sc_image_metabox.php
View
3 .idea/misc.xml
@@ -3,6 +3,9 @@
<component name="DependencyValidationManager">
<option name="SKIP_IMPORT_STATEMENTS" value="false" />
</component>
+ <component name="ProjectResources">
+ <default-html-doctype>http://www.w3.org/1999/xhtml</default-html-doctype>
+ </component>
<component name="ProjectRootManager" version="2" />
</project>
View
2 sc_image_metabox.php
@@ -15,7 +15,7 @@ function sc_image_admin_init()
global $current_user;
get_currentuserinfo();
define('SC_IMAGE_PLUGIN_PATH', plugins_url('sc_image_metabox'));
- add_meta_box("sc_image_metabox", "Images", "sc_image_metabox", "project", "normal", "high");
+ add_meta_box("sc_image_metabox", "Images", "sc_image_metabox", "post", "normal", "high");
wp_enqueue_script('swfobject');
wp_enqueue_script('uploadify', SC_IMAGE_PLUGIN_PATH . '/uploadify/jquery.uploadify.v2.1.4.min.js', array('jquery'));
wp_enqueue_script('sc_image_metabox', SC_IMAGE_PLUGIN_PATH . '/sc_image_metabox.js', array('jquery', 'uploadify'));

0 comments on commit 05d4e31

Please sign in to comment.
Something went wrong with that request. Please try again.