From 97508c3953ed5280cdd3f5377817306f4fb57084 Mon Sep 17 00:00:00 2001 From: Samuel Georges Date: Fri, 28 Jul 2017 01:50:37 +1000 Subject: [PATCH] Rem code sample --- modules/system/assets/js/framework.js | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/modules/system/assets/js/framework.js b/modules/system/assets/js/framework.js index a288cd1b5..5ae665a0c 100644 --- a/modules/system/assets/js/framework.js +++ b/modules/system/assets/js/framework.js @@ -439,24 +439,6 @@ if (window.jQuery.request !== undefined) { } } - // function serializeArrayToObj(arr) { - // var obj = {} - - // $.each(arr, function() { - // if (obj[this.name]) { - // if (!obj[this.name].push) { - // obj[this.name] = [obj[this.name]] - // } - // obj[this.name].push(this.value || '') - // } - // else { - // obj[this.name] = this.value || '' - // } - // }) - - // return obj - // } - $(document).on('change', 'select[data-request], input[type=radio][data-request], input[type=checkbox][data-request]', function documentOnChange() { $(this).request() })