summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/js
diff options
context:
space:
mode:
authorPiBa-NL <pba_2k3@yahoo.com>2016-07-03 22:18:26 +0200
committerStephen Beaver <sbeaver@netgate.com>2016-07-03 16:34:53 -0400
commitf8cb8d654bcf1910d2e549d5420b9ac2348737ef (patch)
tree2a404c37315348606f2c3e92e2b9071589a93740 /src/usr/local/www/js
parent0e7148a119a244af3e8b7bfdefb2365aa59f8c0f (diff)
downloadpfsense-f8cb8d654bcf1910d2e549d5420b9ac2348737ef.zip
pfsense-f8cb8d654bcf1910d2e549d5420b9ac2348737ef.tar.gz
webgui tables, doubleclick event to perform 'edit' action
(cherry picked from commit 54691fc663eae7c6e92e4eaad596906758d7ebea)
Diffstat (limited to 'src/usr/local/www/js')
-rw-r--r--src/usr/local/www/js/pfSense.js4
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();
OpenPOWER on IntegriCloud