web/data/cubicweb.htmlhelpers.js
changeset 10895 90c55e27aa87
parent 9821 2077c8da1893
equal deleted inserted replaced
10891:5f0442600a3b 10895:90c55e27aa87
    37  * purpose of this function is to be used as a callback in the
    37  * purpose of this function is to be used as a callback in the
    38  * deferreds' callbacks chain.
    38  * deferreds' callbacks chain.
    39  */
    39  */
    40 function resetCursor(result) {
    40 function resetCursor(result) {
    41     var body = document.getElementsByTagName('body')[0];
    41     var body = document.getElementsByTagName('body')[0];
    42     body.style.cursor = 'default';
    42     body.style.cursor = '';
    43     // pass result to next callback in the callback chain
    43     // pass result to next callback in the callback chain
    44     return result;
    44     return result;
    45 }
    45 }
    46 
    46 
    47 function updateMessage(msg) {
    47 function updateMessage(msg) {