Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
atlas
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dataplatform
atlas
Commits
15c5434d
Commit
15c5434d
authored
7 years ago
by
Keval Bhatt
Committed by
Madhan Neethiraj
7 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ATLAS-2319: UI - deleting a tag which at 25+ position needs a refresh
Signed-off-by:
Madhan Neethiraj
<
madhan@apache.org
>
parent
d2244dcb
master
No related merge requests found
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
TagLayoutView.js
dashboardv2/public/js/views/tag/TagLayoutView.js
+2
-2
No files found.
dashboardv2/public/js/views/tag/TagLayoutView.js
View file @
15c5434d
...
@@ -83,7 +83,7 @@ define(['require',
...
@@ -83,7 +83,7 @@ define(['require',
},
},
bindEvents
:
function
()
{
bindEvents
:
function
()
{
var
that
=
this
;
var
that
=
this
;
this
.
listenTo
(
this
.
collection
,
"reset add remove"
,
function
()
{
this
.
listenTo
(
this
.
collection
.
fullCollection
,
"reset add remove"
,
function
()
{
this
.
tagsGenerator
();
this
.
tagsGenerator
();
},
this
);
},
this
);
this
.
ui
.
tagsList
.
on
(
'click'
,
'li.parent-node a'
,
function
()
{
this
.
ui
.
tagsList
.
on
(
'click'
,
'li.parent-node a'
,
function
()
{
...
@@ -587,7 +587,7 @@ define(['require',
...
@@ -587,7 +587,7 @@ define(['require',
if
(
urlObj
&&
urlObj
.
tag
&&
urlObj
.
tag
===
that
.
tag
)
{
if
(
urlObj
&&
urlObj
.
tag
&&
urlObj
.
tag
===
that
.
tag
)
{
Globals
.
saveApplicationState
.
tabState
.
searchUrl
=
"#!/search"
;
Globals
.
saveApplicationState
.
tabState
.
searchUrl
=
"#!/search"
;
}
}
that
.
collection
.
remove
(
deleteTagData
);
that
.
collection
.
fullCollection
.
remove
(
deleteTagData
);
// to update tag list of search tab fetch typeHeaders.
// to update tag list of search tab fetch typeHeaders.
that
.
typeHeaders
.
fetch
({
reset
:
true
});
that
.
typeHeaders
.
fetch
({
reset
:
true
});
}
}
...
...
This diff is collapsed.
Click to expand it.
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