Changeset 1997677
- Timestamp:
- 12/19/2018 05:05:28 AM (7 years ago)
- File:
-
- 1 edited
-
designit/trunk/button.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
designit/trunk/button.js
r1997081 r1997677 12 12 export_callback: function (resultUrl, document_id, options) { 13 13 // do something with design image URL, which is only accessible for 24 hours 14 resultUrl = encodeURIComponent(resultUrl); 14 15 var post_id = DBSDK.$('.db-overlay .fix-favorite')[0].getAttribute('data-id'); 15 16 var url = WPURLS.siteurl + "/wp-admin/media-upload.php?chromeless=1&post_id=" + post_id + "&tab=dbsdk_grabfromurl";
Note: See TracChangeset
for help on using the changeset viewer.