Revision 986bcfe4 snf-cyclades-app/synnefo/ui/static/snf/js/utils.js

b/snf-cyclades-app/synnefo/ui/static/snf/js/utils.js
248 248

  
249 249
    synnefo.i18n.API_ERROR_MESSAGES = {
250 250
        'timeout': {
251
            'title': 'API error',
251 252
            'message': 'TIMEOUT', 
252 253
            'allow_report': false,
253 254
            'type': 'Network'
254 255
        },
255 256
        
256 257
        'error': {
257
            'message': 'API error'
258
            'title': 'API error',
259
            'message': null
258 260
        }, 
259 261

  
260 262
        'abort': {},
......
579 581

  
580 582
        if (window.ERROR_OVERRIDES && window.ERROR_OVERRIDES[options.message]) {
581 583
            options.message = window.ERROR_OVERRIDES[options.message];
584
            options.api_message = '';
582 585
        }
583 586
        
584 587
        if (code && window.ERROR_OVERRIDES && window.ERROR_OVERRIDES[code]) {

Also available in: Unified diff