Functions
admin_users.js File Reference

This file will be optimized and embedded in the HTML that is returned for the service body editor form. It will control the JavaScript and AJAX used for the form. More...

Functions

function ToggleUserEditDiv ()
 This simply opens and closes the display of the user editor form.
function ToggleOneUserEditDiv (in_user_id)
 This simply opens and closes the display of one individual user.
function EnableUserChangeButton (in_user_id, in_disable)
 This simply opens and closes the display of the user editor form.
function SubmitUser (in_user_id, in_script_uri)
 Submits an AJAX call to change the User.
function SubmitUserCallback (in_text, in_script_uri)
 This is the AJAX callback from setting the User. The processor will return a JSON object, and this function will react accordingly.
function DeleteUser (in_user_id)
 Submits an AJAX call to delete the User.
function DeleteUserCallback (in_text)
 Submits an AJAX call to delete the User.

Detailed Description

This file will be optimized and embedded in the HTML that is returned for the service body editor form. It will control the JavaScript and AJAX used for the form.

This file is part of the Basic Meeting List Toolbox (BMLT).

Find out more at: http://magshare.org/bmlt

BMLT is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

BMLT is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this code. If not, see <http://www.gnu.org/licenses/>.


Function Documentation

function DeleteUser (   in_user_id)

Submits an AJAX call to delete the User.

Parameters:
in_user_idThe ID of the user.
function DeleteUserCallback (   in_text)

Submits an AJAX call to delete the User.

Parameters:
in_textThe text response from the call.

Referenced by DeleteUser().

function EnableUserChangeButton (   in_user_id,
  in_disable 
)

This simply opens and closes the display of the user editor form.

Parameters:
in_user_idThe ID of the User.
in_disableIf true, disable the button (Default is false).

Referenced by DisplayOneUserForEditing(), and SubmitUserCallback().

function SubmitUser (   in_user_id,
  in_script_uri 
)

Submits an AJAX call to change the User.

Parameters:
in_user_idThe ID of the user.
in_script_uriUsed to refresh for new Users

Referenced by DisplayOneUserForEditing().

function SubmitUserCallback (   in_text,
  in_script_uri 
)

This is the AJAX callback from setting the User. The processor will return a JSON object, and this function will react accordingly.

Parameters:
in_textThe text response from the call.
in_script_uriUsed to refresh for new Users

Referenced by SubmitUser().

function ToggleOneUserEditDiv (   in_user_id)

This simply opens and closes the display of one individual user.

Parameters:
in_user_idThe numerical ID of the user.
function ToggleUserEditDiv ( )

This simply opens and closes the display of the user editor form.

 All Classes Files Functions Variables Enumerations