summaryrefslogtreecommitdiffstats
path: root/modules-available/usblockoff/templates/usb-device-list.html
diff options
context:
space:
mode:
Diffstat (limited to 'modules-available/usblockoff/templates/usb-device-list.html')
-rw-r--r--modules-available/usblockoff/templates/usb-device-list.html8
1 files changed, 1 insertions, 7 deletions
diff --git a/modules-available/usblockoff/templates/usb-device-list.html b/modules-available/usblockoff/templates/usb-device-list.html
index a6cd96b0..a2964987 100644
--- a/modules-available/usblockoff/templates/usb-device-list.html
+++ b/modules-available/usblockoff/templates/usb-device-list.html
@@ -75,13 +75,6 @@
function clickRow(tbody, uid) {
$(tbody).toggleClass('selected');
countSelected();
-
- // OLD SEND TO PHP STUFF
- //if ($(tbody).find('#uid').length == 1) {
- // $(tbody).find('#uid').remove();
- //} else {
- // $(tbody).append('<input type="hidden" name="uids[]" value="' + uid + '" id="uid">');
- //}
}
function countSelected() {
@@ -120,6 +113,7 @@
}
}
+ // This function is used in the usb-configuration.html. (myModalAddButton)
function addDevices() {
$('.selected').each(function () {
var rule = $('#prop-action').val();