Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Maarch
maarchRM
Commits
50a7db7d
Commit
50a7db7d
authored
May 02, 2018
by
Prosper De Laure
Browse files
Date homogenisation
parent
3ca5234f
Changes
5
Hide whitespace changes
Inline
Side-by-side
src/presentation/maarchRM/Resources/view/dashboard/mainScreen/archiveInformation.html
View file @
50a7db7d
...
...
@@ -412,7 +412,7 @@
value
=
valueInput
.
val
();
break
;
case
"
date
"
:
value
=
valueInput
.
datepicker
({
dateFormat
:
'
yy-mm-dd
'
}).
val
(
);
value
=
valueInput
.
data
(
'
datepicker
'
).
getFormattedDate
(
'
yy
yy
-mm-dd
'
);
break
;
case
"
number
"
:
value
=
parseInt
(
valueInput
.
val
());
...
...
@@ -439,7 +439,7 @@
archiveId
:
ArchiveInformation
.
archiveId
,
originatorArchiveId
:
$
(
'
#inputOriginatorArchiveId
'
).
val
(),
archiveName
:
$
(
'
#inputArchiveName
'
).
val
(),
originatingDate
:
$
(
'
#inputOriginatingDate
'
).
datepicker
({
dateFormat
:
'
yy-mm-dd
'
}).
val
(
),
originatingDate
:
$
(
'
#inputOriginatingDate
'
).
data
(
'
datepicker
'
).
getFormattedDate
(
'
y
yy
y
-mm-dd
'
),
description
:
JSON
.
stringify
(
descriptionFields
)
};
...
...
src/presentation/maarchRM/Resources/view/dashboard/mainScreen/search.html
View file @
50a7db7d
...
...
@@ -114,7 +114,7 @@
$
(
"
#
"
+
uniqId
+
"
Panel
"
).
find
(
"
[data-search-tabContent] .datePicker
"
).
each
(
function
()
{
var
cloneDatepicker
=
$
(
this
);
if
(
baseDatepicker
.
attr
(
'
data-datepicker-id
'
)
==
cloneDatepicker
.
attr
(
'
data-datepicker-id
'
))
{
cloneDatepicker
.
replaceWith
(
baseDatepicker
.
clone
(
false
).
datepicker
(
{
language
:
$
(
'
#wrapper
'
).
attr
(
'
lang
'
),
autoclose
:
true
}
).
appendTo
(
cloneDatepicker
.
parent
()));
cloneDatepicker
.
replaceWith
(
baseDatepicker
.
clone
(
false
).
datepicker
(
DatePickerParams
).
appendTo
(
cloneDatepicker
.
parent
()));
}
});
});
...
...
src/presentation/maarchRM/Resources/view/dashboard/navbar.html
View file @
50a7db7d
...
...
@@ -109,9 +109,8 @@
</div>
</nav>
<script>
<script
type=
"text/javascript"
>
/* @license magnet:?xt=urn:btih:1f739d935676111cfff4b4693e3816e664797050&dn=gpl-3.0.txt GPLv3 or later */
function
load
(
url
,
data
)
{
var
loading
=
false
;
...
...
@@ -238,7 +237,6 @@
loading
=
setTimeout
(
function
()
{
ajaxEnd
(
activeButtons
,
button
,
icon
);
})
}
var
errorFunction
=
request
.
error
;
...
...
src/presentation/maarchRM/Resources/view/recordsManagement/archive/fulltextModification.html
View file @
50a7db7d
...
...
@@ -380,10 +380,7 @@
case
'
date
'
:
field
=
template
.
find
(
'
.value
'
);
field
.
attr
(
'
placeholder
'
,
$
(
'
#date_text
'
).
text
());
field
.
datepicker
({
language
:
$
(
'
#wrapper
'
).
attr
(
'
lang
'
),
autoclose
:
true
});
field
.
datepicker
(
DatePickerParams
);
break
;
case
'
boolean
'
:
var
template
=
$
(
'
#customBooleanFieldTemplate
'
).
clone
();
...
...
src/presentation/maarchRM/Resources/view/recordsManagement/archive/modalModification.html
View file @
50a7db7d
...
...
@@ -351,7 +351,7 @@
var
retentionRuleCode
=
$
(
"
#retentionRuleCode
"
).
find
(
'
:selected
'
).
data
(
'
json
'
);
var
retentionRules
=
""
;
var
retentionRuleTable
=
$
(
'
#retentionRuleTable
'
);
console
.
log
(
retentionRuleCode
);
if
(
retentionRuleCode
)
{
var
retentionRuleDurationUnit
=
retentionRuleCode
.
duration
.
substr
(
retentionRuleCode
.
duration
.
length
-
1
,
1
);
...
...
Write
Preview
Supports
Markdown
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