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
0e6593f7
Commit
0e6593f7
authored
Jun 16, 2014
by
Leo Iannacone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix get correct content
parent
a359743b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
debomatic-webui/public/javascripts/page_distribution.js
debomatic-webui/public/javascripts/page_distribution.js
+1
-1
No files found.
debomatic-webui/public/javascripts/page_distribution.js
View file @
0e6593f7
...
...
@@ -340,7 +340,7 @@ function Page_Distrubion(socket) {
file
.
append
(
new_content
);
}
else
{
// always show only config.file.num_lines lines in preview
var
content
=
content
.
html
().
replace
(
/
\n
$/
,
''
).
split
(
'
\n
'
);
var
content
=
file_
content
.
html
().
replace
(
/
\n
$/
,
''
).
split
(
'
\n
'
);
content
=
content
.
concat
(
new_content
.
replace
(
/
\n
$/
,
''
).
split
(
'
\n
'
));
content
=
content
.
slice
(
-
config
.
file
.
num_lines
).
join
(
'
\n
'
);
file_content
.
html
(
content
);
...
...
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