Fixing issues on Password Reset UI

revert-70aa11f8
dilanua 8 years ago
parent 0836b2c99e
commit f71106d011

@ -16,6 +16,18 @@
* under the License.
*/
/**
* Checks if provided input is valid against RegEx input.
*
* @param regExp Regular expression
* @param inputString Input string to check
* @returns {boolean} Returns true if input matches RegEx
*/
function inputIsValid(regExp, inputString) {
regExp = new RegExp(regExp);
return regExp.test(inputString);
}
$(function () {
var sortableElem = '.wr-sortable';
$(sortableElem).sortable({

Loading…
Cancel
Save