diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2015-10-31 21:26:13 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2015-10-31 21:26:13 +0100 |
commit | 13ebc9d3f82f686ca2bc8388095feeb9067e2e40 (patch) | |
tree | 4d90d3178c9fa8d326b7d429ef983ca562846d9d /web/static/app/app.js | |
parent | 141cb7cba5c36a9c5415772e2de9823f927d7abb (diff) | |
download | diller-server-13ebc9d3f82f686ca2bc8388095feeb9067e2e40.tar.gz diller-server-13ebc9d3f82f686ca2bc8388095feeb9067e2e40.tar.bz2 diller-server-13ebc9d3f82f686ca2bc8388095feeb9067e2e40.tar.xz diller-server-13ebc9d3f82f686ca2bc8388095feeb9067e2e40.zip |
web:
o Showning device name and description.
o Trying out cards for the property list.
Diffstat (limited to 'web/static/app/app.js')
-rw-r--r-- | web/static/app/app.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/web/static/app/app.js b/web/static/app/app.js index a76aa33..fa4c4cc 100644 --- a/web/static/app/app.js +++ b/web/static/app/app.js @@ -10,6 +10,8 @@ ctrl.device = device.data.device; + ctrl.propertyChunks = _.chunk(ctrl.device.properties, 3); + ctrl.editDeviceAttribute = function (attributeName) { var outer = ctrl; $uibModal.open({ |