Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
D
domotikad
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
domotika
domotikad
Commits
c1ceeda0
Commit
c1ceeda0
authored
Jan 22, 2014
by
nextime
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use playTTS when installing firefox app
parent
da7820e9
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
105 additions
and
8 deletions
+105
-8
combined.min.css
Web/htdocs/gui/css/combined.min.css
+1
-1
combined.min.js
Web/htdocs/gui/js/combined.min.js
+99
-5
domotika.js
Web/htdocs/gui/js/domotika.js
+5
-2
No files found.
Web/htdocs/gui/css/combined.min.css
View file @
c1ceeda0
This source diff could not be displayed because it is too large. You can
view the blob
instead.
Web/htdocs/gui/js/combined.min.js
View file @
c1ceeda0
This diff is collapsed.
Click to expand it.
Web/htdocs/gui/js/domotika.js
View file @
c1ceeda0
...
...
@@ -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'
);
};
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment