diff options
Diffstat (limited to 'plugins/jetpack/_inc/build/custom-post-types/js/nova-drag-drop.min.js')
-rw-r--r-- | plugins/jetpack/_inc/build/custom-post-types/js/nova-drag-drop.min.js | 4 |
1 files changed, 4 insertions, 0 deletions
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 new file mode 100644 index 00000000..8905387e --- /dev/null +++ b/plugins/jetpack/_inc/build/custom-post-types/js/nova-drag-drop.min.js @@ -0,0 +1,4 @@ +/* Do not modify this file directly. It is compiled from other files. */ +/* jshint onevar: false, smarttabs: true */ +/* global _novaDragDrop */ +!function(n){function e(){u=n("#the-list"),t(),o(),a(),i()}function t(){u.sortable({cancel:".no-items",stop:function(n,e){if(e.item.is(":first-child"))return u.sortable("cancel");r()}})}function r(){u.find(".menu-label-row").each(function(){var e=n(this).data("term_id");n(this).nextUntil(".menu-label-row").each(function(t){var r=n(this);r.find(".menu-order-value").val(t),r.find(".nova-menu-term").val(e)})})}function a(){n(".tablenav").prepend('<input type="submit" class="button-primary button-reorder alignright" value="'+_novaDragDrop.reorder+'" name="'+_novaDragDrop.reorderName+'" />')}function o(){n("#posts-filter").append('<input type="hidden" name="'+_novaDragDrop.nonceName+'" value="'+_novaDragDrop.nonce+'" />')}function i(){n("#posts-filter").attr("method","post")}var u;n(document).ready(e)}(jQuery);
\ No newline at end of file |