Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
debomatic-webui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
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
debomatic-webui-admins
debomatic-webui
Commits
9e0e02c6
Commit
9e0e02c6
authored
Mar 09, 2014
by
Leo Iannacone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
send webpath with file
parent
c7008c40
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
debomatic-webui/lib/client.js
debomatic-webui/lib/client.js
+2
-1
No files found.
debomatic-webui/lib/client.js
View file @
9e0e02c6
...
@@ -38,7 +38,7 @@ function __get_files_list_from_package(data, callback) {
...
@@ -38,7 +38,7 @@ function __get_files_list_from_package(data, callback) {
data
.
package
.
archives
=
[]
data
.
package
.
archives
=
[]
files
.
forEach
(
function
(
f
)
{
files
.
forEach
(
function
(
f
)
{
file
=
{}
file
=
{}
file
.
path
=
path
.
join
(
package_path
,
f
).
replace
(
config
.
debomatic
.
path
,
config
.
debomatic
.
webpath
)
file
.
path
=
path
.
join
(
package_path
,
f
).
replace
(
config
.
debomatic
.
path
,
config
.
routes
.
debomatic
)
file
.
orig_name
=
f
file
.
orig_name
=
f
file
.
name
=
f
.
split
(
'
_
'
)[
0
]
file
.
name
=
f
.
split
(
'
_
'
)[
0
]
file
.
label
=
f
.
replace
(
file
.
name
+
'
_
'
,
''
)
file
.
label
=
f
.
replace
(
file
.
name
+
'
_
'
,
''
)
...
@@ -93,6 +93,7 @@ function __send_file (event_name, socket, data) {
...
@@ -93,6 +93,7 @@ function __send_file (event_name, socket, data) {
if
(
err
)
return
;
if
(
err
)
return
;
data
.
file
.
orig_name
=
file_path
.
split
(
'
/
'
).
pop
()
data
.
file
.
orig_name
=
file_path
.
split
(
'
/
'
).
pop
()
data
.
file
.
content
=
content
data
.
file
.
content
=
content
data
.
file
.
path
=
file_path
.
replace
(
config
.
debomatic
.
path
,
config
.
routes
.
debomatic
)
socket
.
emit
(
event_name
,
data
)
socket
.
emit
(
event_name
,
data
)
});
});
}
}
...
...
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