diff options
author | Jannik Schönartz | 2017-12-28 18:01:28 +0100 |
---|---|---|
committer | Jannik Schönartz | 2017-12-28 18:01:28 +0100 |
commit | ddb431fa8b017790ba86e2ee86475468c848ea81 (patch) | |
tree | a1b75e89672afc8f52f292d6dd1e3b11e68b8b20 /modules-available/usblockoff/templates/usb-device-list.html | |
parent | [usb-lock-off] API device delete function now works with the new db struct. (diff) | |
download | slx-admin-ddb431fa8b017790ba86e2ee86475468c848ea81.tar.gz slx-admin-ddb431fa8b017790ba86e2ee86475468c848ea81.tar.xz slx-admin-ddb431fa8b017790ba86e2ee86475468c848ea81.zip |
[usb-lock-off] Code cleanup and removed code for the old db struct.
Diffstat (limited to 'modules-available/usblockoff/templates/usb-device-list.html')
-rw-r--r-- | modules-available/usblockoff/templates/usb-device-list.html | 8 |
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(); |