diff options
author | José Bollo <jose.bollo@iot.bzh> | 2016-02-11 17:47:17 +0100 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2016-02-11 17:47:17 +0100 |
commit | eac68b18429b5e8bfb2aa8823d4f9a93f4e2ef5d (patch) | |
tree | e83898de08ccaa999ee0d4ae27d0c123647e5ce0 /afm-client/app | |
parent | cbe6ebb3e4a75269660caa6c2c9e8a97d384b4e2 (diff) |
fix icons
Change-Id: I1ba856464a12fb83fb29bc35415a0bb8371b2669
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'afm-client/app')
-rw-r--r-- | afm-client/app/Frontend/etc/AppConfig.js | 2 | ||||
-rw-r--r-- | afm-client/app/Frontend/widgets/ActionButtons/AppliButton.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/afm-client/app/Frontend/etc/AppConfig.js b/afm-client/app/Frontend/etc/AppConfig.js index 177e825..6b02886 100644 --- a/afm-client/app/Frontend/etc/AppConfig.js +++ b/afm-client/app/Frontend/etc/AppConfig.js @@ -31,7 +31,7 @@ ping : '/api/token/check', initial : urlquery.token || '123456789', // typical dev initial token timeout : 3600, // timeout is updated client sessin context creation - pingrate: 60, // Ping rate to check if server is still alive + pingrate: 15, // Ping rate to check if server is still alive uuid : '', // uuid map with cookie or long term session access key token : '' // will be returned from authentication } diff --git a/afm-client/app/Frontend/widgets/ActionButtons/AppliButton.js b/afm-client/app/Frontend/widgets/ActionButtons/AppliButton.js index 0ed0415..e51b3b6 100644 --- a/afm-client/app/Frontend/widgets/ActionButtons/AppliButton.js +++ b/afm-client/app/Frontend/widgets/ActionButtons/AppliButton.js @@ -160,7 +160,7 @@ // extract application information from AppID+Store if (attrs.handle && scope.store [attrs.handle].name) { - scope.icon = AppConfig.paths.icons + scope.store [attrs.handle].name.toLowerCase() + '-ico.png'; + scope.icon = AppConfig.paths.icons + attrs.handle; //scope.store [attrs.handle].name.toLowerCase() + '-ico.png'; scope.label = scope.store [attrs.handle].name; scope.appID= attrs.handle; } else { |