|
Lines 74-79
function update_category_code(category_code) {
Link Here
|
| 74 |
var min_length = $('select'+category_selector+' option:selected').data('pwdLength'); |
74 |
var min_length = $('select'+category_selector+' option:selected').data('pwdLength'); |
| 75 |
var hint_string = __("Minimum password length: %s").format(min_length); |
75 |
var hint_string = __("Minimum password length: %s").format(min_length); |
| 76 |
hint.html(hint_string); |
76 |
hint.html(hint_string); |
|
|
77 |
|
| 78 |
// Add class ignore_validation from attribute field to ignore validation |
| 79 |
if($(mytables).find("li").is(":hidden")){ |
| 80 |
$(mytables).find("li").children('[id*="patron_attr"]').addClass("ignore_validation"); |
| 81 |
} |
| 82 |
// Remove class ignore_validation from attribute field so it's validated |
| 83 |
if($(mytables).find("li").is(":visible")){ |
| 84 |
$(mytables).find("li").children('[id*="patron_attr"]').removeClass("ignore_validation"); |
| 85 |
} |
| 77 |
} |
86 |
} |
| 78 |
|
87 |
|
| 79 |
function select_user(borrowernumber, borrower, relationship) { |
88 |
function select_user(borrowernumber, borrower, relationship) { |
| 80 |
- |
|
|