[Gfoss] Errore mapfish.widget is undefined con Firefox 4

Marica Landini bulma a ferrara.linux.it
Mer 25 Maggio 2011 00:34:28 CEST


Sorry,
vista l'ora era avanzato un errore nella parte iniziale del codice.

(function() {
    /**
     * Before creating the mapfish namespace, check to see if
     * mapfish.singleFile is true. This occurs if the
     * SingleFile.js script is included before this one - as is the
     * case with single file builds.
     */
    var singleFile = (typeof window.mapfish == "object" &&
window.mapfish.singleFile);

    /* Relative path of this script */
    var scriptName = "MapFish.js"

    var jsFiles = window.mapfish;

    /**
     * Namespace: mapfish
     * The mapfish object provides a namespace for all things
     */
    window.mapfish = {

        /**
         * Function: _getScriptLocation
         * Return the path to this script.
         *
         * Returns:
         * Path to this script
         */
    _getScriptLocation: (function() {

            var r = new RegExp("(^|(.*?\\/))(" + scriptName + ")(\\?|$)"),
                s = document.getElementsByTagName('script'),
                src, m, l = "";

...

Saluti,
Marica
-------------- parte successiva --------------
Un allegato HTML ? stato rimosso...
URL: <http://lists.gfoss.it/pipermail/gfoss/attachments/20110525/c2b907c6/attachment-0001.html>


Maggiori informazioni sulla lista Gfoss