Issue #115 [New/open] - Missing device name info in webiopi.js for PiFaceDigital

Posted by andreas.riegg

The webiopi.js code omits the device name info. This results in identical DeviceMonitor entries if multiple PiFaceDigital devices are configured.

Changing this

PiFaceDigital.prototype.toString = function() { return "PiFaceDigital"; }

to

PiFaceDigital.prototype.toString = function() { return this.name + ": PiFaceDigital"; }

corrects this problem.