Changeset 7076 for branches


Ignore:
Timestamp:
08/21/12 11:11:43 (12 years ago)
Author:
eduardow
Message:

Ticket #3044 - Erro em texto da tela de anexar mensagens.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.4/prototype/modules/attach_message/attach_message.js

    r6303 r7076  
    9797bytes2Size = function(bytes) { 
    9898        var sizes = ['B', 'KB', 'MB', 'GB', 'TB']; 
    99         if (bytes == 0) return 'n/a'; 
     99        if (bytes == 0) return '0 Bytes'; 
    100100        var i = parseInt(Math.floor(Math.log(bytes) / Math.log(1024))); 
    101101        var size = (i<2) ? Math.round((bytes / Math.pow(1024, i))) : Math.round((bytes / Math.pow(1024, i)) * 100)/100; 
Note: See TracChangeset for help on using the changeset viewer.