Fixed undefined error in admin_customers.php
Signed-off-by: Roman Schmerold (BNoiZe) <bnoize@froxlor.org>
This commit is contained in:
2
templates/Sparkle/assets/css/main.css
vendored
2
templates/Sparkle/assets/css/main.css
vendored
@@ -573,7 +573,7 @@ input {
|
|||||||
border-radius:3px;
|
border-radius:3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
input[disabled] {
|
input[disabled], input[readonly] {
|
||||||
cursor: not-allowed;
|
cursor: not-allowed;
|
||||||
background-color: #eee;
|
background-color: #eee;
|
||||||
}
|
}
|
||||||
|
|||||||
4
templates/Sparkle/assets/js/main.js
vendored
4
templates/Sparkle/assets/js/main.js
vendored
@@ -53,13 +53,13 @@ $(document).ready(function() {
|
|||||||
$("input[name$='_ul']").each(function() {
|
$("input[name$='_ul']").each(function() {
|
||||||
var fieldname = $(this).attr("name").substring(0, $(this).attr("name").length - 3);
|
var fieldname = $(this).attr("name").substring(0, $(this).attr("name").length - 3);
|
||||||
$("input[name='" + fieldname + "']").prop({
|
$("input[name='" + fieldname + "']").prop({
|
||||||
disabled: $(this).is(":checked")
|
readonly: $(this).is(":checked")
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
$("input[name$='_ul']").change(function() {
|
$("input[name$='_ul']").change(function() {
|
||||||
var fieldname = $(this).attr("name").substring(0, $(this).attr("name").length - 3);
|
var fieldname = $(this).attr("name").substring(0, $(this).attr("name").length - 3);
|
||||||
$("input[name='" + fieldname + "']").prop({
|
$("input[name='" + fieldname + "']").prop({
|
||||||
disabled: $(this).is(":checked")
|
readonly: $(this).is(":checked")
|
||||||
}).focus();
|
}).focus();
|
||||||
});
|
});
|
||||||
// Enable autoselect in configfules
|
// Enable autoselect in configfules
|
||||||
|
|||||||
Reference in New Issue
Block a user