plugins/managePlugin/client/js/managePlugin.js
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();
                    }
                });
            });
        }
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();
                    }
                });
            });
        }
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 ( ) ; } } ) ; } ) ; }
open permissions on tab click
open permissions on tab click