sidebar live toggling of node properties

This commit is contained in:
Oliver Gorwits
2014-10-11 13:01:03 +01:00
parent df6f2dc3c7
commit 33880ce8b3
4 changed files with 56 additions and 61 deletions

View File

@@ -95,6 +95,12 @@
}
});
// dynamic show/hide data in device ports connected nodes/devices column
$('#ports_form').on('change', "input[type=checkbox].nd_dynamic-dp", function(event) {
var target = $(this).attr('id');
$('span.' + target).toggle();
});
// activity for admin tasks in device details
$('#details_pane').on('click', '.nd_adminbutton', function(event) {
// stop form from submitting normally