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
7753f2e8
Commit
7753f2e8
authored
7 years ago
by
kevalbhatt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ATLAS-1605 Edit Entity in UI : Update button is not enabled when updating attribute of type date
parent
9e578251
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
5 deletions
+10
-5
CreateEntityLayoutView.js
dashboardv2/public/js/views/entity/CreateEntityLayoutView.js
+9
-5
release-log.txt
release-log.txt
+1
-0
No files found.
dashboardv2/public/js/views/entity/CreateEntityLayoutView.js
View file @
7753f2e8
...
...
@@ -167,9 +167,6 @@ define(['require',
}
});
if
(
this
.
guid
)
{
this
.
bindNonRequiredField
();
}
this
.
ui
.
entityInputData
.
on
(
'keyup change dp.change'
,
'input.true,select.true'
,
function
(
e
)
{
if
(
this
.
value
!==
""
)
{
if
(
$
(
this
).
data
(
'select2'
))
{
...
...
@@ -200,7 +197,7 @@ define(['require',
},
bindNonRequiredField
:
function
()
{
var
that
=
this
;
this
.
ui
.
entityInputData
.
off
(
'keyup change
'
,
'input.false,select.false'
).
on
(
'keyup
change'
,
'input.false,select.false'
,
function
(
e
)
{
this
.
ui
.
entityInputData
.
off
(
'keyup change
dp.change'
,
'input.false,select.false'
).
on
(
'keyup change dp.
change'
,
'input.false,select.false'
,
function
(
e
)
{
if
(
that
.
modal
.
$el
.
find
(
'button.ok'
).
prop
(
'disabled'
)
&&
that
.
ui
.
entityInputData
.
find
(
'.errorClass'
).
length
===
0
)
{
that
.
modal
.
$el
.
find
(
'button.ok'
).
prop
(
"disabled"
,
false
);
}
...
...
@@ -350,11 +347,14 @@ define(['require',
});
}
});
if
(
this
.
guid
)
{
this
.
bindNonRequiredField
();
}
this
.
initializeValidation
();
if
(
this
.
ui
.
entityInputData
.
find
(
'fieldset'
).
length
>
0
&&
this
.
ui
.
entityInputData
.
find
(
'select.true,input.true'
).
length
===
0
)
{
this
.
requiredAllToggle
(
this
.
ui
.
entityInputData
.
find
(
'select.true,input.true'
).
length
===
0
);
if
(
!
this
.
guid
)
{
// For create entity bind keyup for non-required field when all elements are optional
this
.
bindNonRequiredField
();
}
this
.
ui
.
toggleRequired
.
prop
(
'checked'
,
true
);
...
...
@@ -405,6 +405,10 @@ define(['require',
this
.
$
(
'input[data-type="long"],input[data-type="int"]'
).
on
(
'keyup click'
,
function
(
e
)
{
removeText
(
e
,
e
.
currentTarget
.
value
);
});
this
.
$
(
'input[data-type="date"]'
).
on
(
'dp.hide'
,
function
()
{
this
.
blur
();
});
},
getContainer
:
function
(
value
)
{
var
entityLabel
=
this
.
capitalize
(
value
.
name
);
...
...
This diff is collapsed.
Click to expand it.
release-log.txt
View file @
7753f2e8
...
...
@@ -9,6 +9,7 @@ ATLAS-1060 Add composite indexes for exact match performance improvements for al
ATLAS-1127 Modify creation and modification timestamps to Date instead of Long(sumasai)
ALL CHANGES:
ATLAS-1605 Edit Entity in UI : Update button is not enabled when updating attribute of type date (Kalyanikashikar via kevalbhatt)
ATLAS-1595:Create Entity in UI : All attributes are not listed for hdfs_path. (Kalyanikashikar via kevalbhatt)
ATLAS-1618: updated export to support scope option - full/connected
ATLAS-1621: fixed webapp integration tests failures
...
...
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