On 23/03/11 19:09, Adam Armstrong wrote:
On 22/03/2011 23:46, Paul Gear wrote:
...
OK, i've decided that enough people will want this that we will
be able to shout Adam down ;-) ,
and have created a solution using the jQuery JavaScript library
(http://jquery.com/)
that is crazy-easy and minimally invasive from a coding
perspective.
....
And then the patch here:
I don't mind including JQuery. In terms of UI, I'd quite like it
if the setting was toggled *when* you clicked the tickbox, rather
than when you clicked "submit". But that would be much more
involved, I expect.
The box values are changed immediately on button press (it's a
button, not a checkbox), but it doesn't commit to the database until
you press submit. I would much rather it happened that way,
personally, because usually there are additional edits to be done
after a select all or a toggle.
The way i would normally use this feature is that i would add a new
edge switch, click select all in the ignore column, then deselect
the ports which i want to be notified about - usually just the
uplink to distribution/core, downlinks to other switches, and
servers/printer ports which don't flap much.
Paul