jQuery.fn.updateBlogrollPermissionsForm = function() { return this.each(function() { var perms = {}; var re = /^perm\[(.+?)\]\[(.+?)\]$/; var e,prop; // Building a nice object of form elements for (var i=0; i