add custom-notes field to admins and customers, fixes #1471
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
4
templates/Sparkle/assets/css/main.css
vendored
4
templates/Sparkle/assets/css/main.css
vendored
@@ -1401,3 +1401,7 @@ table thead th.tablesorter-headerDesc {
|
||||
border: 1px solid #ccc;
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
.notes_block {
|
||||
display: none;
|
||||
}
|
||||
|
||||
4
templates/Sparkle/assets/js/main.js
vendored
4
templates/Sparkle/assets/js/main.js
vendored
@@ -40,6 +40,10 @@ $(document).ready(function() {
|
||||
$(".tipper").tipper({
|
||||
direction: "right"
|
||||
});
|
||||
// Enable notes
|
||||
$(".notes").click(function() {
|
||||
$("#notes_" + $(this).attr("data-id")).toggle("slow");
|
||||
})
|
||||
// Enable reset search click
|
||||
$(".resetsearch").click(function() {
|
||||
$(".searchtext").val("");
|
||||
|
||||
Reference in New Issue
Block a user