summaryrefslogtreecommitdiffstats
path: root/src/js/apps.js
diff options
context:
space:
mode:
authorHumberto Alfonso Díaz <humberto.alfonso@asvito.es>2019-11-07 18:40:57 +0100
committerLorenzo Tilve <ltilve@igalia.com>2020-02-04 19:12:47 +0100
commit7fb6ca3266315612909e479fd7c3f9673113aa81 (patch)
treebfa116d1e010ea98c5dbfea8b46056e17f0aeee6 /src/js/apps.js
parentb11ad29876a7c60e3e3e36b4791f010985f38fa4 (diff)
FUNCT Launch applications using homescreen instead of afm-main
Diffstat (limited to 'src/js/apps.js')
-rw-r--r--src/js/apps.js4
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);
});
}