View | Details | Raw Unified | Return to bug 14509
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member-password.tt (-1 / +8 lines)
Lines 3-8 Link Here
3
[% INCLUDE 'doc-head-close.inc' %]
3
[% INCLUDE 'doc-head-close.inc' %]
4
<script type="text/JavaScript">
4
<script type="text/JavaScript">
5
//<![CDATA[
5
//<![CDATA[
6
7
    function check_password( password ) {
8
        if ( password.match(/^\s/) || password.match(/\s$/)) {
9
            return false;
10
        }
11
        return true;
12
    }
13
6
    $(document).ready(function() {
14
    $(document).ready(function() {
7
        var MSG_PASSWORD_CONTAINS_TRAILING_SPACES = _("Password contains leading and/or trailing spaces.");
15
        var MSG_PASSWORD_CONTAINS_TRAILING_SPACES = _("Password contains leading and/or trailing spaces.");
8
        $("#changepasswordf").submit(function(){
16
        $("#changepasswordf").submit(function(){
9
- 

Return to bug 14509