Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
35822ff7
Commit
35822ff7
authored
Jan 22, 2014
by
Jonathon Duerig
Browse files
Use .textContent instead of .innerText because the latter doesn't work with FF
parent
08737fad
Changes
1
Hide whitespace changes
Inline
Side-by-side
protogeni/flack/js/main.js
View file @
35822ff7
...
...
@@ -64,10 +64,10 @@ var swfVersionStr = "11.1.0";
flashvars
.
bundlepreset
=
'
1
'
;
flashvars
.
keycertpreset
=
'
1
'
;
flashvars
.
loadallmanagerswithoutasking
=
'
1
'
;
flashvars
.
saurl
=
encodeURIComponent
(
saUrlTag
.
innerTex
t
);
flashvars
.
saurn
=
encodeURIComponent
(
saUrnTag
.
innerTex
t
);
flashvars
.
churl
=
encodeURIComponent
(
chUrlTag
.
innerTex
t
);
flashvars
.
sliceurn
=
encodeURIComponent
(
sliceUrnTag
.
innerTex
t
);
flashvars
.
saurl
=
encodeURIComponent
(
saUrlTag
.
textConten
t
);
flashvars
.
saurn
=
encodeURIComponent
(
saUrnTag
.
textConten
t
);
flashvars
.
churl
=
encodeURIComponent
(
chUrlTag
.
textConten
t
);
flashvars
.
sliceurn
=
encodeURIComponent
(
sliceUrnTag
.
textConten
t
);
}
else
{
...
...
@@ -84,11 +84,11 @@ var swfVersionStr = "11.1.0";
saUrnTag
)
{
flashvars
.
skipstartup
=
'
1
'
;
flashvars
.
keycert
=
encodeURIComponent
(
clientKeyTag
.
innerTex
t
+
'
\n
'
+
clientCertTag
.
innerTex
t
);
flashvars
.
keypassphrase
=
encodeURIComponent
(
clientPassphraseTag
.
innerTex
t
);
flashvars
.
keycert
=
encodeURIComponent
(
clientKeyTag
.
textConten
t
+
'
\n
'
+
clientCertTag
.
textConten
t
);
flashvars
.
keypassphrase
=
encodeURIComponent
(
clientPassphraseTag
.
textConten
t
);
flashvars
.
loadallmanagerswithoutasking
=
'
0
'
;
flashvars
.
saurl
=
encodeURIComponent
(
saUrlTag
.
innerTex
t
);
flashvars
.
saurn
=
encodeURIComponent
(
saUrnTag
.
innerTex
t
);
flashvars
.
saurl
=
encodeURIComponent
(
saUrlTag
.
textConten
t
);
flashvars
.
saurn
=
encodeURIComponent
(
saUrnTag
.
textConten
t
);
}
else
{
...
...
@@ -153,9 +153,9 @@ function init(new_flash_id)
{
if
(
serverCertTag
&&
clientKeyTag
&&
clientCertTag
)
{
setServerCert
(
serverCertTag
.
innerTex
t
);
setClientKey
(
clientKeyTag
.
innerTex
t
);
setClientCert
(
clientCertTag
.
innerTex
t
);
setServerCert
(
serverCertTag
.
textConten
t
);
setClientKey
(
clientKeyTag
.
textConten
t
);
setClientCert
(
clientCertTag
.
textConten
t
);
}
else
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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