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
bf0cd739
Commit
bf0cd739
authored
Mar 09, 2014
by
Leo Iannacone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
this will be sticky someday
parent
6e32c64e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
debomatic-webui/public/javascripts/page_distribution.js
debomatic-webui/public/javascripts/page_distribution.js
+16
-0
No files found.
debomatic-webui/public/javascripts/page_distribution.js
View file @
bf0cd739
...
@@ -171,6 +171,20 @@ var Page_Distrubion = {
...
@@ -171,6 +171,20 @@ var Page_Distrubion = {
}
}
},
},
// stiky sidebar
sticky
:
function
()
{
// $(window).off("scroll")
// // back on top
//// $("html, body").animate({scrollTop: 0}, 0);
// var offset = $("#sticky").offset();
// $(window).scroll(function() {
// if ($(window).scrollTop() > offset.top)
// $("#sticky").stop().addClass('fixed');
// else
// $("#sticky").stop().removeClass('fixed');
// })
},
select
:
function
(
data
)
{
select
:
function
(
data
)
{
Page_Distrubion
.
unselect
()
Page_Distrubion
.
unselect
()
if
(
!
data
)
if
(
!
data
)
...
@@ -237,6 +251,7 @@ var Page_Distrubion = {
...
@@ -237,6 +251,7 @@ var Page_Distrubion = {
Page_Distrubion
.
title
.
set
(
data
)
Page_Distrubion
.
title
.
set
(
data
)
Page_Distrubion
.
breadcrumb
.
update
()
Page_Distrubion
.
breadcrumb
.
update
()
Page_Distrubion
.
select
(
data
)
Page_Distrubion
.
select
(
data
)
Page_Distrubion
.
sticky
()
}
}
},
},
...
@@ -250,5 +265,6 @@ var Page_Distrubion = {
...
@@ -250,5 +265,6 @@ var Page_Distrubion = {
Page_Distrubion
.
select
(
data
)
Page_Distrubion
.
select
(
data
)
Page_Distrubion
.
breadcrumb
.
update
()
Page_Distrubion
.
breadcrumb
.
update
()
Page_Distrubion
.
title
.
set
(
data
)
Page_Distrubion
.
title
.
set
(
data
)
Page_Distrubion
.
sticky
()
}
}
}
}
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