We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent defaab0 commit 9720490Copy full SHA for 9720490
assets/genericDropdown.js
@@ -1,5 +1,9 @@
1
-refreshPlugins.push(function(el) {
2
- $(el).find('select[name ="genericDropdown"]').change(function (event) {
3
- $(this).closest('form').netteAjax(event);
4
- });
5
-});
+(function ($) {
+ $.fn.genericDropdown = function (options) {
+ return (function() {
+ $(el).find('select[name ="genericDropdown"]').change(function (event) {
+ $(this).closest('form').netteAjax(event);
6
+ });
7
8
+ }
9
+})(jQuery);
0 commit comments