Notes |
|
(0052180)
|
hgbot
|
2012-09-17 18:53
|
|
Repository: erp/devel/pi
Changeset: f7344c95ba2418d593515ca9b986ec5006e74d6e
Author: David Baz Fayos <david.baz <at> openbravo.com>
Date: Mon Sep 17 18:52:35 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/f7344c95ba2418d593515ca9b986ec5006e74d6e [^]
Fixed issue 21674: Added 'OB.Utilities.generateRandomString' function
---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/toolbar/ob-toolbar.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/utilities/ob-utilities.js
---
|
|
|
(0052181)
|
dbaz
|
2012-09-17 18:55
|
|
** {{{ OB.Utilities.generateRandomString }}} **
Generates a random string based on the arguments
Parameters:
* {{{stringLength}}} Length of the generated random string
* {{{allowLowerCaseChars}}} Boolean to check if lower case characters are allowed (true by default)
* {{{allowUpperCaseChars}}} Boolean to check if upper case characters are allowed (true by default)
* {{{allowDigits}}} Boolean to check if digits are allowed (false by default)
* {{{allowSpecialChars}}} Boolean to check if special characters are allowed (false by default) |
|
|
|
Code reviewed and verified in pi@4c4431d17dbd |
|
|
|
|