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
0d97c01e
Commit
0d97c01e
authored
Jan 22, 2014
by
nextime
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix minimixed manifes_url
parent
c1ceeda0
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
combined.min.js
Web/htdocs/gui/js/combined.min.js
+5
-1
domotika.js
Web/htdocs/gui/js/domotika.js
+5
-1
No files found.
Web/htdocs/gui/js/combined.min.js
View file @
0d97c01e
...
...
@@ -116,7 +116,11 @@ window.matchMedia=window.matchMedia||function(a){"use strict";var c,d=a.document
var
port
=
""
;
if
(
document
.
location
.
port
)
var
port
=
":"
+
document
.
location
.
port
;
var
manifest_url
=
document
.
location
.
protocol
+
"//"
+
document
.
location
.
host
+
port
+
"<?=str_replace("
/
js
/
domotika
.
js
","",$BASEGUIPATH)?>/manifest.webapp"
;
<
?
$manif
=
str_replace
(
"/js/domotika.js"
,
""
,
$BASEGUIPATH
);
$manif
=
str_replace
(
"/js/combined.min.js"
,
""
,
$manif
);
?
>
var
manifest_url
=
document
.
location
.
protocol
+
"//"
+
document
.
location
.
host
+
port
+
"<?=$manif?>/manifest.webapp"
;
function
installFFApp
(
ev
)
{
ev
.
preventDefault
();
...
...
Web/htdocs/gui/js/domotika.js
View file @
0d97c01e
...
...
@@ -43,7 +43,11 @@
var
port
=
""
;
if
(
document
.
location
.
port
)
var
port
=
":"
+
document
.
location
.
port
;
var
manifest_url
=
document
.
location
.
protocol
+
"//"
+
document
.
location
.
host
+
port
+
"<?=str_replace("
/
js
/
domotika
.
js
","",$BASEGUIPATH)?>/manifest.webapp"
;
<
?
$manif
=
str_replace
(
"/js/domotika.js"
,
""
,
$BASEGUIPATH
);
$manif
=
str_replace
(
"/js/combined.min.js"
,
""
,
$manif
);
?
>
var
manifest_url
=
document
.
location
.
protocol
+
"//"
+
document
.
location
.
host
+
port
+
"<?=$manif?>/manifest.webapp"
;
function
installFFApp
(
ev
)
{
ev
.
preventDefault
();
...
...
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