CoreFiles by mySites.guru
custom-background.min.js1 lines, 924 bytes, from wordpress-3.5-RC3.zip
Raw History Compare with 3.5-RC2
md5
b5707acf0ba4925b3d0b112c81d9ab51
sha1
1c4276d1c507b764c2187d15cd0bcfb71d7def0d
sha256
308a96d61d88e9e2a85a3b1c8990ce23070aaf311e65314d5a47ed3bab27ff3f
(function(a){a(document).ready(function(){var b=a("#custom-background-image"),c;a("#background-color").wpColorPicker({change:function(d,e){b.css("background-color",e.color.toString())},clear:function(){b.css("background-color","")}});a('input[name="background-position-x"]').change(function(){b.css("background-position",a(this).val()+" top")});a('input[name="background-repeat"]').change(function(){b.css("background-repeat",a(this).val())});a("#choose-from-library-link").click(function(e){var d=a(this);e.preventDefault();if(c){c.open();return}c=wp.media({title:d.data("choose"),library:{type:"image"}});c.on("toolbar:render:select",function(f){f.set({select:{style:"primary",text:d.data("update"),click:function(){var g=c.state().get("selection").first();a.post(ajaxurl,{action:"set-background-image",attachment_id:g.id,size:"full"},function(){window.location.reload()})}}})});c.setState("library").open()})})})(jQuery);

No other release has this exact content. See every version of this file.