Commit c1ceeda0 authored by nextime's avatar nextime

use playTTS when installing firefox app

parent da7820e9
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
......@@ -51,11 +51,14 @@
myapp.onsuccess = function(data) {
$("#install_ff").hide()
console.log(this);
alert('Web Application installed.');
popupFader('success', 'SUCCESS:','Web app installata correttamente');
var a = playTTS('Web app installata correttamente');
};
myapp.onerror = function() {
console.log('Install failed, error: ' + this.error.name);
alert('Install failed, error: ' + this.error.name);
popupFader('danger', 'ERROR:', 'App not installed: '+this.error.name);
playTTS('Errore, applicazione non installata');
};
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment