web/data/cubicweb.htmlhelpers.js
branchstable
changeset 6858 393300fc3fdd
parent 6389 72ba82a26e05
child 7069 8bf2337a6f3b
equal deleted inserted replaced
6857:8d2062387134 6858:393300fc3fdd
    16  * available and inspects the <base> tag manually otherwise.)
    16  * available and inspects the <base> tag manually otherwise.)
    17  */
    17  */
    18 function baseuri() {
    18 function baseuri() {
    19     var uri = document.baseURI;
    19     var uri = document.baseURI;
    20     if (uri) { // some browsers don't define baseURI
    20     if (uri) { // some browsers don't define baseURI
    21         return uri;
    21         return uri.toLowerCase();
    22     }
    22     }
    23     return jQuery('base').attr('href');
    23     return jQuery('base').attr('href').toLowerCase();
    24 }
    24 }
    25 
    25 
    26 /**
    26 /**
    27  * .. function:: setProgressCursor()
    27  * .. function:: setProgressCursor()
    28  *
    28  *