summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYury German <blueknight@gentoo.org>2019-05-22 00:42:33 -0400
committerYury German <blueknight@gentoo.org>2019-05-22 00:42:33 -0400
commite89abce1b01dda89efdf230101d1aa3c877b3b6c (patch)
treecfb27a564c1f4cfff30d18dbf591efd48283b154 /plugins/jetpack/_inc/build/custom-post-types/js
parentAdding Twentyninetten (diff)
downloadblogs-gentoo-e89abce1b01dda89efdf230101d1aa3c877b3b6c.tar.gz
blogs-gentoo-e89abce1b01dda89efdf230101d1aa3c877b3b6c.tar.bz2
blogs-gentoo-e89abce1b01dda89efdf230101d1aa3c877b3b6c.zip
Updating of Plugins and Themes
List of Plugins updates -- akismet.4.1.2 google-authenticator.0.52 jetpack.7.3.1 List of Themes Updates -- mantra.3.2.0 twentyfifteen.2.5 twentyfourteen.2.7 Signed-off-by: Yury German <blueknight@gentoo.org>
Diffstat (limited to 'plugins/jetpack/_inc/build/custom-post-types/js')
-rw-r--r--plugins/jetpack/_inc/build/custom-post-types/js/many-items.min.js3
-rw-r--r--plugins/jetpack/_inc/build/custom-post-types/js/menu-checkboxes.min.js3
-rw-r--r--plugins/jetpack/_inc/build/custom-post-types/js/nova-drag-drop.min.js4
3 files changed, 0 insertions, 10 deletions
diff --git a/plugins/jetpack/_inc/build/custom-post-types/js/many-items.min.js b/plugins/jetpack/_inc/build/custom-post-types/js/many-items.min.js
deleted file mode 100644
index 8f18038e..00000000
--- a/plugins/jetpack/_inc/build/custom-post-types/js/many-items.min.js
+++ /dev/null
@@ -1,3 +0,0 @@
-/* Do not modify this file directly. It is compiled from other files. */
-/* jshint onevar: false, smarttabs: true */
-!function(t){var n,a,e;e={init:function(){var i,o,r=this;return this.on("keypress.manyItemsTable",function(t){13===t.which&&(t.preventDefault(),"function"==typeof FormData&&e.submitRow.apply(r),e.addRow.apply(r))}).on("focus.manyItemsTable",":input",function(){r.data("currentRow",t(this).parents("tr:first"))}),o=(i=this.find("tbody:last")).find("tr:first").clone(),this.data("form",this.parents("form:first")),this.data("tbody",i),this.data("row",o),this.data("currentRow",o),n=t("#nova-menu-tax"),a=t("#_wpnonce"),this},destroy:function(){return this.off(".manyItemsTable"),this},submitRow:function(){var e,i,o,r;return i=(e=this.data("currentRow")).find(":input"),o=this.data("form").find(":input").not(i).attr("disabled",!0).end(),(r=new FormData(this.data("form").get(0))).append("ajax","1"),r.append("nova_menu_tax",n.val()),r.append("_wpnonce",a.val()),o.attr("disabled",!1),t.ajax({url:"",type:"POST",data:r,processData:!1,contentType:!1}).complete(function(t){e.html(t.responseText)}),i.attr("disabled",!0),this},addRow:function(){var t=this.data("row").clone();return t.appendTo(this.data("tbody")),t.find(":input:first").focus(),this}},t.fn.manyItemsTable=function(n){return e[n]?e[n].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof n&&n?(t.error("Method "+n+" does not exist on jQuery.manyItemsTable"),this):e.init.apply(this,arguments)},t.fn.clickAddRow=function(){var n=this.find("tbody:last"),a=n.find("tr:first").clone();t(a).find("input, textarea").val(""),t(a).appendTo(n)}}(jQuery),jQuery(".many-items-table").one("focus",":input",function(t){jQuery(t.delegateTarget).manyItemsTable()}),jQuery(".many-items-table").on("click","a.nova-new-row",function(t){jQuery(t.delegateTarget).clickAddRow()}); \ No newline at end of file
diff --git a/plugins/jetpack/_inc/build/custom-post-types/js/menu-checkboxes.min.js b/plugins/jetpack/_inc/build/custom-post-types/js/menu-checkboxes.min.js
deleted file mode 100644
index 1cf20df1..00000000
--- a/plugins/jetpack/_inc/build/custom-post-types/js/menu-checkboxes.min.js
+++ /dev/null
@@ -1,3 +0,0 @@
-/* Do not modify this file directly. It is compiled from other files. */
-/* jshint onevar: false, smarttabs: true, devel: true */
-!function(c){var n={inputs:null,popInputs:null,initialize:function(){n.popInputs=c("#nova_menuchecklist-pop").find(":checkbox"),n.inputs=c("#nova_menuchecklist").find(":checkbox").change(n.checkOne).change(n.syncPop),n.isChecked()||n.checkFirst(),n.syncPop()},syncPop:function(){n.popInputs.each(function(){var n=c(this);n.prop("checked",c("#in-nova_menu-"+n.val()).is(":checked"))})},isChecked:function(){return n.inputs.is(":checked")},checkFirst:function(){n.inputs.first().prop("checked",!0)},checkOne:function(){return c(this).is(":checked")?n.inputs.not(this).prop("checked",!1):c(this).closest("#nova_menuchecklist").find(":checked").length>0?c(this).prop("checked",!1):n.checkFirst()}};c(n.initialize)}(jQuery); \ No newline at end of file
diff --git a/plugins/jetpack/_inc/build/custom-post-types/js/nova-drag-drop.min.js b/plugins/jetpack/_inc/build/custom-post-types/js/nova-drag-drop.min.js
deleted file mode 100644
index 8778acf2..00000000
--- a/plugins/jetpack/_inc/build/custom-post-types/js/nova-drag-drop.min.js
+++ /dev/null
@@ -1,4 +0,0 @@
-/* Do not modify this file directly. It is compiled from other files. */
-/* jshint onevar: false, smarttabs: true */
-/* global _novaDragDrop */
-!function(e){var n;e(document).ready(function(){(n=e("#the-list")).sortable({cancel:".no-items",stop:function(t,r){if(r.item.is(":first-child"))return n.sortable("cancel");n.find(".menu-label-row").each(function(){var n=e(this).data("term_id");e(this).nextUntil(".menu-label-row").each(function(t){var r=e(this);r.find(".menu-order-value").val(t),r.find(".nova-menu-term").val(n)})})}}),e("#posts-filter").append('<input type="hidden" name="'+_novaDragDrop.nonceName+'" value="'+_novaDragDrop.nonce+'" />'),e(".tablenav").prepend('<input type="submit" class="button-primary button-reorder alignright" value="'+_novaDragDrop.reorder+'" name="'+_novaDragDrop.reorderName+'" />'),e("#posts-filter").attr("method","post")})}(jQuery); \ No newline at end of file