Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
media
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
35
Issues
35
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
icing
media
Commits
85908e63
Commit
85908e63
authored
Sep 21, 2017
by
Sam McCollum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sm - shorten session_id parameter
parent
134dabfe
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/main/java/enterprises/mccollum/home/media/rc/RemoteControl.java
...ava/enterprises/mccollum/home/media/rc/RemoteControl.java
+1
-1
src/main/webapp/resources/IcingPlayer.js
src/main/webapp/resources/IcingPlayer.js
+1
-1
No files found.
src/main/java/enterprises/mccollum/home/media/rc/RemoteControl.java
View file @
85908e63
...
...
@@ -11,7 +11,7 @@ import static enterprises.mccollum.home.media.jsf.FacesUtils.getParam;
@RequestScoped
public
class
RemoteControl
{
public
String
getId
()
{
String
id
=
getParam
(
"
session
_id"
);
String
id
=
getParam
(
"
rc
_id"
);
if
(
id
!=
null
)
return
id
;
return
UUID
.
randomUUID
().
toString
();
...
...
src/main/webapp/resources/IcingPlayer.js
View file @
85908e63
...
...
@@ -164,7 +164,7 @@ class IcingPlayer {
break
;
case
86
:
//v: display session id
case
118
:
alert
(
'
Send this link to a friend so they can join in:
'
+
window
.
location
.
href
+
'
?
session
_id=
'
+
this
.
rcId
);
alert
(
'
Send this link to a friend so they can join in:
'
+
window
.
location
.
href
+
'
?
rc
_id=
'
+
this
.
rcId
);
break
;
default
:
console
.
log
(
event
.
keyCode
);
...
...
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