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
74dc605d
Commit
74dc605d
authored
6 years ago
by
Abhishek Kadam
Committed by
Madhan Neethiraj
6 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ATLAS-2767: UI : "Create" button is not enabled after an error while createing a classification
Signed-off-by:
Madhan Neethiraj
<
madhan@apache.org
>
parent
25bae4fe
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
TagAttributeItemView.js
dashboardv2/public/js/views/tag/TagAttributeItemView.js
+5
-0
TagLayoutView.js
dashboardv2/public/js/views/tag/TagLayoutView.js
+1
-1
No files found.
dashboardv2/public/js/views/tag/TagAttributeItemView.js
View file @
74dc605d
...
...
@@ -65,9 +65,13 @@ define(['require',
});
},
onCloseButton
:
function
()
{
var
tagName
=
this
.
parentView
.
$el
.
find
(
'[data-id="tagName"]'
).
val
();
if
(
this
.
parentView
.
collection
.
models
.
length
>
0
)
{
this
.
model
.
destroy
();
}
if
(
this
.
parentView
.
collection
.
models
.
length
==
0
&&
tagName
!=
""
)
{
this
.
parentView
.
$el
.
parent
().
next
().
find
(
'button.ok'
).
removeAttr
(
"disabled"
);
}
}
});
});
\ No newline at end of file
This diff is collapsed.
Click to expand it.
dashboardv2/public/js/views/tag/TagLayoutView.js
View file @
74dc605d
...
...
@@ -209,7 +209,7 @@ define(['require',
var
tagParents
=
''
,
tagLists
=
''
;
if
(
this
.
collection
&&
this
.
collection
.
fullCollection
.
length
)
{
if
(
this
.
collection
&&
this
.
collection
.
fullCollection
.
length
>=
0
)
{
var
sortedCollection
=
this
.
collection
.
fullCollection
;
this
.
tagTreeList
=
this
.
getTagTreeList
({
collection
:
sortedCollection
});
if
(
searchString
)
{
...
...
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