Custom Query (18300 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (145 - 147 of 18300)

Ticket Resolution Summary Owner Reporter
#12527 fixed dojo.connect fails to bind 2 functions Kris Zyp zc
Description

It seems the documentation is messed up: http://docs.dojocampus.org/quickstart/events#connecting-functions-to-one-another says: "Connecting two global functions is even easier: objectConnections[1] = dojo.connect(foo, globalGuy);", This is not true. Example:

    function foo() {
        console.log('foo');
    };
    function bar() {
        console.log('bar');
    };
    dojo.connect(foo, bar);   
   foo(); 

Runnable example at http://jsfiddle.net/tNc5y/1/

#13175 fixed Menu: programmatic example fails (Opera 11.11) zc
Description

No problems with IE 8.0.6 http://dojotoolkit.org/reference-guide/dijit/Menu.html Programmatic example

[2011-06-05 10:35:16] JavaScript - http://dojotoolkit.org/reference-guide/_static/dojo/dojo.js

Linked script not loaded
[2011-06-05 10:35:16] JavaScript - http://dojotoolkit.org/reference-guide/dijit/Menu.html
Inline script thread
Uncaught exception: ReferenceError: Undefined variable: dojo
Error thrown at line 2, column 12 in http://dojotoolkit.org/reference-guide/dijit/Menu.html:
    dojo.require("dijit.Menu");
[2011-06-05 10:35:16] JavaScript - http://dojotoolkit.org/reference-guide/dijit/Menu.html
Inline script thread
Uncaught exception: ReferenceError: Undefined variable: dojo
Error thrown at line 2, column 12 in http://dojotoolkit.org/reference-guide/dijit/Menu.html:
    dojo.addOnLoad(function() {

#13207 wontfix dijit.PopupMenuBarItem bug in dojo-release-1.6.1-src.zip, apache 1.3.3 zc
Description

The source release dojo-release-1.6.1-src.zip contains bug, that does not exist in built release (dojo-release-1.6.1.zip). The code below:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	

	<script djConfig="useCommentedJson: false,parseOnLoad: false" src="/dojo161r/dojo/dojo.js"></script>

		<style type="text/css">
		@import "/dojo161r/dojo/resources/dojo.css";
		@import "/dojo161r/dijit/themes/claro/claro.css";
	</style>

	<script type="text/javascript">

         dojo.require("dijit.MenuBar");
        dojo.require("dijit.MenuBarItem");
        dojo.require("dijit.PopupMenuBarItem");
        dojo.require("dijit.Menu");
        dojo.require("dijit.MenuItem");
        dojo.require("dijit.PopupMenuItem");
dojo.ready(function(){
    dojo.addClass(dojo.body(),'claro');


    var pMenuBar;
    dojo.addOnLoad(function() {
        pMenuBar = new dijit.MenuBar({},'wrapper');

        var pSubMenu = new dijit.Menu({});
        pSubMenu.addChild(new dijit.MenuItem({
            label: "File item #1"
        }));
        pSubMenu.addChild(new dijit.MenuItem({
            label: "File item #2"
        }));
        pMenuBar.addChild(new dijit.PopupMenuBarItem({
            label: "File",
            popup: pSubMenu
        }));

        var pSubMenu2 = new dijit.Menu({});
        pSubMenu2.addChild(new dijit.MenuItem({
            label: "Edit item #1"
        }));
        pSubMenu2.addChild(new dijit.MenuItem({
            label: "Edit item #2"
        }));
        pMenuBar.addChild(new dijit.PopupMenuBarItem({
            label: "Edit",
            popup: pSubMenu2
        }));

        //pMenuBar.placeAt("wrapper");
        pMenuBar.startup();
     });
});

	</script>

 </head>

 <body class="claro">

 </body>
</html>

causes Opera 11.11 report the following bug (in other browsers the error exists, but is not reported in that extensive manner)

[2011-06-05 11:13:40] JavaScript - http://192.168.57.1/dojo/Noname63.html
Event thread: DOMContentLoaded
Uncaught exception: Error: dijit.PopupMenuBarItem template:tabIndex
Error thrown at line 72, column 37 in (value, key):
    throw new Error(className+" template:"+key);
called from line 130, column 66 in ():
    return method.apply(scope, arguments || []);
called via Function.prototype.apply() from line 123, column 3 in (match, key, format):
    return transform(value, key).toString();
called from line 117, column 1 in (template, map, transform, thisObject):
    return template.replace(/\$\{([^\s\:\}]+)(?:\:([^\s\:\}]+))?\}/g,
called from line 70, column 3 in (tmpl):
    return dojo.string.substitute(tmpl, this, function(value, key){
called from line 97, column 4 in ():
    node = dojo._toDom(this._stringRepl(cached));
called via Function.prototype.apply() from line 142, column 6 in inherited(args, a, f):
    if(f && (base._meta ? proto.hasOwnProperty(name) : f !== opf))
called from line 49, column 3 in ():
    this.inherited(arguments);
called from line 204, column 2 in (params, srcNodeRef):
    this.buildRendering();
called via Function.prototype.apply() from line 136, column 5 in inherited(args, a, f):
    f = proto[name];
Error created at line 72, column 37 in (value, key):
    throw new Error(className+" template:"+key);
called from line 130, column 66 in ():
    return method.apply(scope, arguments || []);
called via Function.prototype.apply() from line 123, column 3 in (match, key, format):
    return transform(value, key).toString();
called from line 117, column 1 in (template, map, transform, thisObject):
    return template.replace(/\$\{([^\s\:\}]+)(?:\:([^\s\:\}]+))?\}/g,
called from line 70, column 3 in (tmpl):
    return dojo.string.substitute(tmpl, this, function(value, key){
called from line 97, column 4 in ():
    node = dojo._toDom(this._stringRepl(cached));
called via Function.prototype.apply() from line 142, column 6 in inherited(args, a, f):
    if(f && (base._meta ? proto.hasOwnProperty(name) : f !== opf))
called from line 49, column 3 in ():
    this.inherited(arguments);
called from line 204, column 2 in (params, srcNodeRef):
    this.buildRendering();
called via Function.prototype.apply() from line 136, column 5 in inherited(args, a, f):
    f = proto[name];
Note: See TracQuery for help on using queries.