Enhancements in the backend_users.js comments.

This commit is contained in:
Alex Tselegidis 2016-05-14 12:40:11 +02:00
parent 8dedc3368a
commit 5ddebb9233

View file

@ -26,29 +26,28 @@ window.BackendUsers = window.BackendUsers || {};
/** /**
* Minimum Password Length * Minimum Password Length
* *
* @type {int} * @type {Number}
*/ */
exports.MIN_PASSWORD_LENGTH = 7; exports.MIN_PASSWORD_LENGTH = 7;
/** /**
* Contains the current tab record methods for the page. * Contains the current tab record methods for the page.
* *
* @type AdminsHelper|ProvidersHelper|SecretariesHelper * @type {AdminsHelper|ProvidersHelper|SecretariesHelper}
*/ */
var helper = {}; var helper = {};
/** /**
* Use this class instance for performing actions on the working plan. * Use this class instance for performing actions on the working plan.
* *
* @type {object} * @type {WorkingPlan}
*/ */
exports.wp = {}; exports.wp = {};
/** /**
* Initialize the backend users page. * Initialize the backend users page.
* *
* @param {bool} defaultEventHandlers (OPTIONAL) Whether to bind the default event handlers * @param {Boolean} defaultEventHandlers (OPTIONAL) Whether to bind the default event handlers.
* (default: true).
*/ */
exports.initialize = function(defaultEventHandlers) { exports.initialize = function(defaultEventHandlers) {
defaultEventHandlers = defaultEventHandlers || true; defaultEventHandlers = defaultEventHandlers || true;
@ -83,7 +82,7 @@ window.BackendUsers = window.BackendUsers || {};
$('#provider-services').html(html); $('#provider-services').html(html);
$('#provider-services').jScrollPane({ mouseWheelSpeed: 70 }); $('#provider-services').jScrollPane({ mouseWheelSpeed: 70 });
var html = '<div class="col-md-12">'; html = '<div class="col-md-12">';
$.each(GlobalVariables.providers, function(index, provider) { $.each(GlobalVariables.providers, function(index, provider) {
html += html +=
'<div class="checkbox">' + '<div class="checkbox">' +