Merge pull request #1332 from Kiloutre/patch-7
Fix date difference & display of tag stuff in upload
Cette révision appartient à :
révision
df8e155a35
2 fichiers modifiés avec 3 ajouts et 3 suppressions
|
@ -64,8 +64,8 @@ function dateDiff( str1, str2 ) {
|
|||
var diff = Date.parse( str2 ) - Date.parse( str1 );
|
||||
return isNaN( diff ) ? NaN : {
|
||||
diff : diff,
|
||||
h : Math.floor( diff / 3600000 % 24 ),
|
||||
d : Math.floor( diff / 86400000 )
|
||||
h : -Math.floor( diff / 3600000 % 24 ),
|
||||
d : -Math.floor( diff / 86400000 )
|
||||
};
|
||||
}
|
||||
parseAllDates()
|
||||
|
|
|
@ -218,7 +218,7 @@ Modal.Init({
|
|||
// order of apparition of the modals
|
||||
button: "#tagPopup"
|
||||
});
|
||||
document.getElementById("add-tag").style.display = "initial";
|
||||
document.getElementById("tagPopup").style.display = "initial";
|
||||
document.getElementById("tag-h3").style.display = "initial";
|
||||
var tags = []
|
||||
document.querySelector("#modal_tag_form form").addEventListener("submit", function(e) {
|
||||
|
|
Référencer dans un nouveau ticket