Changeset 2516:f02a001e787e

Show
Ignore:
Timestamp:
07/29/10 09:58:55 (6 weeks ago)
Author:
Ferllings <cedric@…>
Branch:
default
Message:

[ihm] Infinite timeout for events requests (close #290)

Location:
src/domogik/ui/djangodomo/core/templates/design
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • src/domogik/ui/djangodomo/core/templates/design/js/dmg.rest.js

    r2494 r2516  
    9797            url: url, 
    9898            dataType: "jsonp", 
    99             timeout: 120000, // 2 minute 
    10099            error: function (xOptions, textStatus) { 
    101                 if (textStatus == 'timeout') { 
    102                     $.eventRequest(devices, events);                     
    103                 } else { 
    104                     $.notification('error', 'Event update : Lost REST server connection'); 
    105                 } 
     100                $.notification('error', 'Event update : Lost REST server connection'); 
    106101            }, 
    107102            success: function (data) { 
     
    127122            url: url, 
    128123            dataType: "jsonp", 
    129             timeout: 120000, // 2 minute 
    130124            error: function (xOptions, textStatus) { 
    131                 if (textStatus == 'timeout') { 
    132                     $.eventUpdate(ticket, events);                     
    133                 } else { 
    134                     $.notification('error', 'Event update : Lost REST server connection'); 
    135                 } 
     125                $.notification('error', 'Event update : Lost REST server connection'); 
    136126            }, 
    137127            success: function (data) { 
  • src/domogik/ui/djangodomo/core/templates/design/skins/default/css/ui-page-block.css

    r2510 r2516  
    11.block { 
     2        position:relative; 
    23        display:inline-block; 
    34    background-color:#eeeeee;