Revision 126a01f2 snf-cyclades-app/synnefo/ui/static/snf/js/utils.js

b/snf-cyclades-app/synnefo/ui/static/snf/js/utils.js
224 224
        return (bytes/Math.pow(1024, Math.floor(e))).toFixed(2)+" "+s[e];
225 225
    }
226 226
    
227

  
228
    synnefo.util.IP_REGEX = /(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\/([0-9]|[1-2][0-9]|3[0-2]?)$/
229

  
227 230
    synnefo.i18n.API_ERROR_MESSAGES = {
228 231
        'timeout': {
229 232
            'message': 'TIMEOUT', 

Also available in: Unified diff