diff options
author | PiBa-NL <pba_2k3@yahoo.com> | 2016-07-03 22:18:26 +0200 |
---|---|---|
committer | PiBa-NL <pba_2k3@yahoo.com> | 2016-07-03 22:18:26 +0200 |
commit | 54691fc663eae7c6e92e4eaad596906758d7ebea (patch) | |
tree | f09d27fbfc95ae00b4fc9c7fe1d27d839a24164f /src/usr/local/www/js | |
parent | 587be0aa451a9dab0e9e0d05b78b9e2f11cc0a96 (diff) | |
download | pfsense-54691fc663eae7c6e92e4eaad596906758d7ebea.zip pfsense-54691fc663eae7c6e92e4eaad596906758d7ebea.tar.gz |
webgui tables, doubleclick event to perform 'edit' action
Diffstat (limited to 'src/usr/local/www/js')
-rw-r--r-- | src/usr/local/www/js/pfSense.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/usr/local/www/js/pfSense.js b/src/usr/local/www/js/pfSense.js index 3ca74c4..8cc17c7 100644 --- a/src/usr/local/www/js/pfSense.js +++ b/src/usr/local/www/js/pfSense.js @@ -207,6 +207,10 @@ $(function() { $( $(this).data('target') ).prop('disabled', true); }); + $('.table-rowdblclickedit>tbody>tr').dblclick(function () { + $(this).find(".fa-pencil")[0].click(); + }); + // Focus first input $(':input:enabled:visible:first').focus(); |