(function ($) { "use strict"; $(document).ready(function () { /* open wordpress link dialog */ $(document).on('click', '#link-btn', function () { if (typeof wpLink !== "undefined") { wpLink.open('link-btn'); /* Bind to open link editor! */ $('#wp-link-backdrop').show(); $('#wp-link-wrap').show(); $('#url-field, #wp-link-url').closest('div').find('span').html(wpmf.l18n.link_to); $('#link-title-field').closest('div').hide(); $('.wp-link-text-field').hide(); $('#url-field, #wp-link-url').val($('.compat-field-wpmf_gallery_custom_image_link input.text').val()); if ($('.compat-field-gallery_link_target select').val() === '_blank') { $('#link-target-checkbox,#wp-link-target').prop('checked', true); } else { $('#link-target-checkbox,#wp-link-target').prop('checked', false); } } }); /* Update link for file */ $(document).on('click', '#wp-link-submit', function () { var attachment_id = $('.attachment-details').data('id'); if (typeof attachment_id === "undefined") { attachment_id = $('#post_ID').val(); } var link = $('#url-field').val(); if (typeof link === "undefined") { link = $('#wp-link-url').val(); } // version 4.2+ var link_target = $('#link-target-checkbox:checked').val(); if (typeof link_target === "undefined") { link_target = $('#wp-link-target:checked').val(); } // version 4.2+ if (link_target === 'on') { link_target = '_blank'; } else { link_target = ''; } $.ajax({ url: ajaxurl, method: "POST", dataType: 'json', data: { action: 'wpmf', task: "update_link", id: attachment_id, link: link, link_target: link_target, wpmf_nonce: wpmf.vars.wpmf_nonce }, success: function (response) { $('.compat-field-wpmf_gallery_custom_image_link input.text').val(response.link); $('.compat-field-gallery_link_target select option[value="' + response.target + '"]').prop('selected', true).change(); } }); }); }); })(jQuery); https://frankston.tint.melbourne/post-sitemap.xml 2025-06-09T07:37:18+00:00 https://frankston.tint.melbourne/post-sitemap2.xml 2024-07-22T22:32:19+00:00 https://frankston.tint.melbourne/post-sitemap3.xml 2024-08-17T08:50:19+00:00 https://frankston.tint.melbourne/post-sitemap4.xml 2024-08-31T06:22:49+00:00 https://frankston.tint.melbourne/post-sitemap5.xml 2024-09-08T02:29:17+00:00 https://frankston.tint.melbourne/post-sitemap6.xml 2024-09-17T13:55:32+00:00 https://frankston.tint.melbourne/post-sitemap7.xml 2024-09-30T07:17:05+00:00 https://frankston.tint.melbourne/post-sitemap8.xml 2024-10-06T20:08:43+00:00 https://frankston.tint.melbourne/post-sitemap9.xml 2024-10-14T12:46:54+00:00 https://frankston.tint.melbourne/post-sitemap10.xml 2024-10-17T21:09:35+00:00 https://frankston.tint.melbourne/post-sitemap11.xml 2024-10-21T15:42:28+00:00 https://frankston.tint.melbourne/post-sitemap12.xml 2024-10-25T00:25:25+00:00 https://frankston.tint.melbourne/post-sitemap13.xml 2024-10-27T05:27:49+00:00 https://frankston.tint.melbourne/post-sitemap14.xml 2024-10-28T11:29:13+00:00 https://frankston.tint.melbourne/post-sitemap15.xml 2024-11-01T05:18:17+00:00 https://frankston.tint.melbourne/post-sitemap16.xml 2024-11-03T04:59:20+00:00 https://frankston.tint.melbourne/post-sitemap17.xml 2024-11-04T12:09:58+00:00 https://frankston.tint.melbourne/post-sitemap18.xml 2024-11-08T14:48:08+00:00 https://frankston.tint.melbourne/post-sitemap19.xml 2024-11-11T04:15:00+00:00 https://frankston.tint.melbourne/post-sitemap20.xml 2024-11-12T07:49:44+00:00 https://frankston.tint.melbourne/post-sitemap21.xml 2024-11-13T13:22:35+00:00 https://frankston.tint.melbourne/post-sitemap22.xml 2024-11-16T18:45:20+00:00 https://frankston.tint.melbourne/post-sitemap23.xml 2024-11-17T21:26:21+00:00 https://frankston.tint.melbourne/post-sitemap24.xml 2024-11-19T16:55:37+00:00 https://frankston.tint.melbourne/post-sitemap25.xml 2024-11-21T08:13:20+00:00 https://frankston.tint.melbourne/post-sitemap26.xml 2024-11-23T22:22:23+00:00 https://frankston.tint.melbourne/post-sitemap27.xml 2024-11-25T05:09:59+00:00 https://frankston.tint.melbourne/post-sitemap28.xml 2024-11-26T00:51:37+00:00 https://frankston.tint.melbourne/post-sitemap29.xml 2024-11-27T04:24:45+00:00 https://frankston.tint.melbourne/post-sitemap30.xml 2024-11-30T20:32:17+00:00 https://frankston.tint.melbourne/post-sitemap31.xml 2024-12-02T03:52:58+00:00 https://frankston.tint.melbourne/post-sitemap32.xml 2024-12-03T11:19:14+00:00 https://frankston.tint.melbourne/post-sitemap33.xml 2024-12-04T12:55:09+00:00 https://frankston.tint.melbourne/post-sitemap34.xml 2024-12-06T06:39:45+00:00 https://frankston.tint.melbourne/post-sitemap35.xml 2024-12-11T04:16:30+00:00 https://frankston.tint.melbourne/post-sitemap36.xml 2024-12-15T15:46:37+00:00 https://frankston.tint.melbourne/post-sitemap37.xml 2024-12-18T17:18:41+00:00 https://frankston.tint.melbourne/post-sitemap38.xml 2024-12-24T04:49:19+00:00 https://frankston.tint.melbourne/post-sitemap39.xml 2024-12-26T14:40:55+00:00 https://frankston.tint.melbourne/post-sitemap40.xml 2024-12-28T19:03:32+00:00 https://frankston.tint.melbourne/post-sitemap41.xml 2024-12-30T01:33:20+00:00 https://frankston.tint.melbourne/post-sitemap42.xml 2025-01-03T11:55:25+00:00 https://frankston.tint.melbourne/post-sitemap43.xml 2025-01-10T16:08:31+00:00 https://frankston.tint.melbourne/post-sitemap44.xml 2025-01-15T04:15:52+00:00 https://frankston.tint.melbourne/post-sitemap45.xml 2025-01-23T13:34:28+00:00 https://frankston.tint.melbourne/post-sitemap46.xml 2025-01-30T15:56:53+00:00 https://frankston.tint.melbourne/post-sitemap47.xml 2025-02-02T00:23:38+00:00 https://frankston.tint.melbourne/post-sitemap48.xml 2025-02-08T14:34:15+00:00 https://frankston.tint.melbourne/post-sitemap49.xml 2025-02-13T14:43:15+00:00 https://frankston.tint.melbourne/post-sitemap50.xml 2025-03-25T00:22:27+00:00 https://frankston.tint.melbourne/post-sitemap51.xml 2025-05-17T18:35:37+00:00 https://frankston.tint.melbourne/post-sitemap52.xml 2025-06-09T07:37:18+00:00 https://frankston.tint.melbourne/page-sitemap.xml 2024-09-24T01:43:02+00:00 https://frankston.tint.melbourne/category-sitemap.xml 2025-06-08T20:31:49+00:00 https://frankston.tint.melbourne/category-sitemap2.xml 2025-06-09T07:37:18+00:00 https://frankston.tint.melbourne/category-sitemap3.xml 2025-06-02T16:04:48+00:00 https://frankston.tint.melbourne/post_tag-sitemap.xml 2025-01-22T03:35:22+00:00 https://frankston.tint.melbourne/author-sitemap.xml 2021-04-28T06:07:50+00:00