Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
ulakbus-ui
Project
Project
Details
Activity
Releases
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
ulakbus
ulakbus-ui
Commits
5fd7b4bc
Commit
5fd7b4bc
authored
Apr 11, 2016
by
Evren Kutar
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop-merge-5239' into develop
parents
36829701
a705f5c2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
form_service.js
app/zetalib/form_service.js
+2
-4
No files found.
app/zetalib/form_service.js
View file @
5fd7b4bc
...
...
@@ -568,13 +568,11 @@ angular.module('ulakbus.formService', ['ui.bootstrap'])
status
:
{
opened
:
false
},
open
:
function
(
$event
)
{
this
.
status
.
opened
=
true
;
scope
.
model
[
k
]
=
Moment
(
scope
.
model
[
k
],
"DD.MM.YYYY"
).
toDate
();
},
format
:
'dd.MM.yyyy'
,
onSelect
:
function
()
{
var
tempDate
=
angular
.
copy
(
scope
.
model
[
k
]);
tempDate
=
Date
.
parse
(
tempDate
,
"dd.MM.yyyy"
);
scope
.
model
[
k
]
=
tempDate
;
//scope.model[k] = angular.copy(generator.dateformatter(scope.model[k]));
scope
.
model
[
k
]
=
angular
.
copy
(
generator
.
dateformatter
(
scope
.
model
[
k
]));
}
};
}
...
...
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