aboutsummaryrefslogtreecommitdiff
path: root/web/static/app/app.js
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2015-10-31 20:04:06 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2015-10-31 20:04:06 +0100
commit141cb7cba5c36a9c5415772e2de9823f927d7abb (patch)
tree03354c1437db7760ca0a44f0ec99b1dfb4a7a162 /web/static/app/app.js
parent9d97d8f89bc570b1232c0dd8450f489b39023e18 (diff)
downloaddiller-server-141cb7cba5c36a9c5415772e2de9823f927d7abb.tar.gz
diller-server-141cb7cba5c36a9c5415772e2de9823f927d7abb.tar.bz2
diller-server-141cb7cba5c36a9c5415772e2de9823f927d7abb.tar.xz
diller-server-141cb7cba5c36a9c5415772e2de9823f927d7abb.zip
web:
o Better form interaction: enter to submit and autofocus on the field.
Diffstat (limited to 'web/static/app/app.js')
-rw-r--r--web/static/app/app.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/web/static/app/app.js b/web/static/app/app.js
index fedfb54..a76aa33 100644
--- a/web/static/app/app.js
+++ b/web/static/app/app.js
@@ -20,8 +20,6 @@
ctrl.label = attributeName.substr(0, 1).toUpperCase() + attributeName.substr(1);
ctrl.value = outer.device[attributeName];
- ctrl.error = 'fail';
-
ctrl.update = function () {
DillerRpc.patchDevice(outer.device.id, {attribute: attributeName, value: ctrl.value})
.then(function (res) {