summaryrefslogtreecommitdiffstats
path: root/modules-available/usblockoff/templates/usb-edit-rule.html
diff options
context:
space:
mode:
authorJannik Schönartz2018-03-27 10:50:41 +0200
committerJannik Schönartz2018-03-27 10:50:41 +0200
commitd569d39e82a928b60def5518830dfe26466504f6 (patch)
treeae6d57987bc7389b76028cc642773cd2cd8798d7 /modules-available/usblockoff/templates/usb-edit-rule.html
parent[usb-lock-off] Removed warnings in JS/JQuery (diff)
downloadslx-admin-d569d39e82a928b60def5518830dfe26466504f6.tar.gz
slx-admin-d569d39e82a928b60def5518830dfe26466504f6.tar.xz
slx-admin-d569d39e82a928b60def5518830dfe26466504f6.zip
[usb-lock-off] Added language tags for the edit rule page.
Diffstat (limited to 'modules-available/usblockoff/templates/usb-edit-rule.html')
-rw-r--r--modules-available/usblockoff/templates/usb-edit-rule.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules-available/usblockoff/templates/usb-edit-rule.html b/modules-available/usblockoff/templates/usb-edit-rule.html
index e2bc5b65..8f31fdd9 100644
--- a/modules-available/usblockoff/templates/usb-edit-rule.html
+++ b/modules-available/usblockoff/templates/usb-edit-rule.html
@@ -32,6 +32,8 @@
var idArray = {{{usbJson}}};
document.addEventListener("DOMContentLoaded", function() {
+ $('a.btn[title]').tooltip({placement: "auto", html: true});
+
$('.switch-input').click(function() {
var $op = $(this).parent().find('select');
var val = $op.val();