File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -790,9 +790,9 @@ const Dialogs = {
790790 $originalDiv . find ( '.size' ) . text ( OC . Util . humanFileSize ( original . size ) )
791791 $originalDiv . find ( '.mtime' ) . text ( OC . Util . formatDate ( original . mtime ) )
792792 // ie sucks
793- if ( replacement . size && replacement . lastModifiedDate ) {
793+ if ( replacement . size && replacement . lastModified ) {
794794 $replacementDiv . find ( '.size' ) . text ( OC . Util . humanFileSize ( replacement . size ) )
795- $replacementDiv . find ( '.mtime' ) . text ( OC . Util . formatDate ( replacement . lastModifiedDate ) )
795+ $replacementDiv . find ( '.mtime' ) . text ( OC . Util . formatDate ( replacement . lastModified ) )
796796 }
797797 var path = original . directory + '/' + original . name
798798 var urlSpec = {
@@ -823,9 +823,9 @@ const Dialogs = {
823823
824824 // set more recent mtime bold
825825 // ie sucks
826- if ( replacement . lastModifiedDate && replacement . lastModifiedDate . getTime ( ) > original . mtime ) {
826+ if ( replacement . lastModified > original . mtime ) {
827827 $replacementDiv . find ( '.mtime' ) . css ( 'font-weight' , 'bold' )
828- } else if ( replacement . lastModifiedDate && replacement . lastModifiedDate . getTime ( ) < original . mtime ) {
828+ } else if ( replacement . lastModified < original . mtime ) {
829829 $originalDiv . find ( '.mtime' ) . css ( 'font-weight' , 'bold' )
830830 } else {
831831 // TODO add to same mtime collection?
You can’t perform that action at this time.
0 commit comments