diff options
author | Humberto Alfonso Díaz <humberto.alfonso@asvito.es> | 2019-11-07 18:40:57 +0100 |
---|---|---|
committer | Lorenzo Tilve <ltilve@igalia.com> | 2020-02-04 19:12:47 +0100 |
commit | 7fb6ca3266315612909e479fd7c3f9673113aa81 (patch) | |
tree | bfa116d1e010ea98c5dbfea8b46056e17f0aeee6 | |
parent | b11ad29876a7c60e3e3e36b4791f010985f38fa4 (diff) |
FUNCT Launch applications using homescreen instead of afm-main
-rw-r--r-- | src/js/apps.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/js/apps.js b/src/js/apps.js index 877b646..c7d50a0 100644 --- a/src/js/apps.js +++ b/src/js/apps.js @@ -1,4 +1,4 @@ -import { afmMain } from 'agl-js-api'; +import { homescreen, afmMain } from 'agl-js-api'; import Mustache from 'mustache'; var configjson = require('../config.json'); @@ -40,7 +40,7 @@ function load_application_list() { export function start(node) { var appId = node.getAttribute('app-id'); - afmMain.start(appId).then(function(result) { + homescreen.showWindow(appId.split('@')[0]).then(function(result) { console.log("success: " + result); }); } |