Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
qfq
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
typo3
qfq
Commits
4e52ac38
Commit
4e52ac38
authored
2 years ago
by
enured
Browse files
Options
Downloads
Patches
Plain Diff
B14506: Changed variable names. refs #14506
parent
b94e8035
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!504
New version 22.12.1
,
!498
B14506: Implemented new default view for tablesorter. Trigger automatic save...
Pipeline
#8526
passed
2 years ago
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
javascript/src/TablesorterController.js
+2
-2
2 additions, 2 deletions
javascript/src/TablesorterController.js
with
2 additions
and
2 deletions
javascript/src/TablesorterController.js
+
2
−
2
View file @
4e52ac38
...
...
@@ -164,8 +164,8 @@ var QfqNS = QfqNS || {};
// select view on page load: first priority from url hash, second priority localstorage, third private view named 'Default', fourth is public view 'Clear'
// Default (third priority) + Clear (fourth priority)
var
d
efaultExists
=
tableViews
.
some
(
function
(
v
)
{
return
v
.
name
===
'
Default
'
&&
!
v
.
public
;});
var
setValue
=
d
efaultExists
?
"
p
rivate
:Default
"
:
"
public:Clear
"
;
var
publicD
efaultExists
=
tableViews
.
some
(
function
(
v
)
{
return
v
.
name
===
'
Default
'
&&
!
v
.
public
;});
var
setValue
=
publicD
efaultExists
?
"
p
ublic
:Default
"
:
"
public:Clear
"
;
// local storage (second priority)
var
localStorageView
=
localStorage
.
getItem
(
'
tablesorterView_
'
+
tableId
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment