PluginProbe ʕ •ᴥ•ʔ
Interactive Image Map Builder / 3.2
Interactive Image Map Builder v3.2
3.2 trunk 1.0 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 2.0 2.1 2.2 2.3 2.4 2.5 2.6 2.7 2.8 2.9 3.0 3.1
interactive-image-map-builder / assets / js / media-uploader.js
interactive-image-map-builder / assets / js Last commit date
fontselect.js 2 years ago isimb-6310-admin-modal.js 2 years ago isimb-6310-admin-script.js 11 months ago isimb-6310-common.js 2 years ago isimb-6310-nested-point.js 2 years ago jquery.canvas.js 2 years ago json-data.js 3 months ago main-output-file.js 3 months ago media-uploader.js 2 years ago zoom-in-out-drag.js 1 year ago
media-uploader.js
1 lines
1 jQuery(document).ready(function(e){var t;jQuery("#sb-image-upload-button").click(function(e){e.preventDefault(),t?t.open():((t=wp.media.frames.file_frame=wp.media({title:"Choose Image",button:{text:"Choose Image"},multiple:!0})).on("select",function(){console.log(t.state().get("selection").toJSON()),attachment=t.state().get("selection").first().toJSON(),jQuery("#sb-image-upload-url").val(attachment.url),jQuery("#sb-image-add-new-item-data").css({"overflow-x":"hidden","overflow-y":"auto"}),jQuery("body").css({overflow:"hidden"})}),t.open())})}),jQuery(document).ready(function(e){var t;jQuery("#sb-image-hover-upload-button").click(function(e){e.preventDefault(),t?t.open():((t=wp.media.frames.file_frame=wp.media({title:"Choose Image",button:{text:"Choose Image"},multiple:!0})).on("select",function(){console.log(t.state().get("selection").toJSON()),attachment=t.state().get("selection").first().toJSON(),jQuery("#sb-image-hover-upload-url").val(attachment.url),jQuery("#sb-image-add-new-item-data").css({"overflow-x":"hidden","overflow-y":"auto"}),jQuery("body").css({overflow:"hidden"})}),t.open())})});