Allow to update device notes column from STF UI. https://github.com/openstf/stf/issues/124

This commit is contained in:
Vishal Banthia
2015-10-23 01:36:41 +09:00
parent 26421fd322
commit 466890777d
9 changed files with 135 additions and 7 deletions

View File

@@ -210,5 +210,12 @@ module.exports = function DeviceServiceFactory($http, socket, EnhanceDeviceServi
})
}
deviceService.updateNote = function (serial, note) {
socket.emit('device.note', {
serial: serial,
note: note
})
}
return deviceService
}