Login Register

dojo.js

'dojo' is undefined

Hi

New to Dojo & need some assistance.

I have the following code from one of the examples, to build tabs.

Dojo example

@import "js/dojo-release-1.1.1/dijit/themes/nihilo/nihilo.css";

#tabs {
font-family:arial;
font-size:9pt;
}

 

dojo.require("dijit.layout.TabContainer");
        dojo.require("dijit.layout.ContentPane");

dojo.js - failure code: 0x805e000a - FF3

This strange error occurred when i want to submit form via xhrPost:

Submit

if (dijit.byId("advertiserForm" ).validate()) {
dojo.xhrPost({
url: "http://localhost:5000/advertisers" ,
form: "advertiserForm" ,
load: function() {
console.log("Form successfully submitted" );

Dojo1.0 shows Object required-Information message on IE 7 status bar

Hi ,We are using DOJO 1.0 with IE 7 and we can observer in the IE status bar the following information message (with written test on Status bar DONE) when we click on any link in the first page of website we say the informational icon along with done text on status bar and if we double click on the icon we saw the following information.Urgent help needed.

line :21
char :41160
Error:Object required
code :error

Please help in resolving this issue.

No such issue is observed with ForeFox

thanks,

Bug in dojo.disconnect (dojo.js)

The dojo.disconnect - function has one little bug:

it needs an additional check in the if-expression: dojo.isArray(handle).

if(handle && dojo.isArray(handle) && handle[0] !== undefined).....
-------------------
it would be very nice, if You fix it in the public version:)

dojo.disconnect = function(/*Handle*/ handle){
// summary:
// Remove a link created by dojo.connect.
// description:
// Removes the connection between event and the method referenced by handle.
// handle:

Syndicate content