diff --git a/public/static/admin/plugs.js b/public/static/admin/plugs.js index 7de3dae03..ed071a60e 100644 --- a/public/static/admin/plugs.js +++ b/public/static/admin/plugs.js @@ -669,25 +669,6 @@ define(['zeroclipboard', 'jquery'], function (ZeroClipboard) { } }); - (function ($) { - $.fn.serializeJson = function () { - var serializeObj = {}; - var array = this.serializeArray(); - $(array).each(function () { - if (serializeObj[this.name]) { - if ($.isArray(serializeObj[this.name])) { - serializeObj[this.name].push(this.value); - } else { - serializeObj[this.name] = [serializeObj[this.name], this.value]; - } - } else { - serializeObj[this.name] = this.value; - } - }); - return serializeObj; - }; - })(jQuery); - $(form).bind("submit", function (event) { var elements = $(this).find(self.inputTag); if (self.isAllpass(elements, params) && params.validate() && $.isFunction(callback)) {