code: function handlePermissionUpdate() {
              permissionArea.find("form").submit(function (e) {
                  e.preventDefault();
                  //console.log(e);
                  var form = e.currentTarget;
                  appendFormFields(form);
                  Rocket.Util.submitFormAsync(form, function (responseData) {
                      //console.log(responseData);
                      if (responseData && responseData.status && responseData.status == "success") {
                          location.reload();
                      }
                  });
              });
          }
docs: open permissions on tab click