summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/js/app.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/js/app.js b/src/js/app.js
index 22fc859..603bc88 100644
--- a/src/js/app.js
+++ b/src/js/app.js
@@ -15,7 +15,7 @@
*/
import Mustache from 'mustache';
-import { afmMain, api } from 'agl-js-api';
+import { afmMain, api, homescreen } from 'agl-js-api';
var configjson = require('../config.json');
var template;
@@ -72,7 +72,7 @@ function load_application_list() {
export function launch(app) {
var appId = app.getAttribute('app-id');
- afmMain.start(appId).then(function(result) {
+ homescreen.showWindow(appId.split('@')[0]).then(function(result) {
log("success: " + result);
});
}