%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/tif-dev/wp-content/plugins/gravityforms/includes/addon/js/
Upload File :
Create Path :
Current File : //var/www/tif-dev/wp-content/plugins/gravityforms/includes/addon/js/gaddon_feedorder.min.js

var GFFeedOrder=function(e){var o=this,n=jQuery;o.init=function(){o.options=e;n(".wp-list-table thead tr, .wp-list-table tfoot tr").append('<th class="sort-column"></th>'),n(".wp-list-table tbody tr").append('<td class="sort-column"><i class="gform-icon gform-icon--drag-indicator feed-sort-handle"></i></td>'),o.initSorting()},o.initSorting=function(){n(".wp-list-table tbody").sortable({cursor:"move",handle:".feed-sort-handle",placeholder:"feed-placeholder",tolerance:"pointer",create:function(){n(".wp-list-table").addClass("feed-list-sortable")},helper:o.fixSortableColumnWidths,start:o.setPlaceholderHeight,update:o.updateFeedOrder})},o.fixSortableColumnWidths=function(e,t){var o=t.children(),i=t.clone();return i.children().each(function(e){n(this).width(o.eq(e).width())}),i},o.getFeedOrder=function(){return n('.wp-list-table tbody .check-column input[type="checkbox"]').map(function(){return n(this).val()}).get()},o.setPlaceholderHeight=function(e,t){n(".wp-list-table .feed-placeholder").height(t.item.height())},o.updateFeedOrder=function(e,t){n.ajax(ajaxurl,{method:"POST",dataType:"JSON",data:{action:"gf_save_feed_order",addon:o.options.addon,form_id:o.options.formId,feed_order:o.getFeedOrder(),nonce:o.options.nonce}})},this.init()};

Zerion Mini Shell 1.0