Constructordojox.off.goOnline

dojo.require("dojox.off._common");
defined in dojox/off/_common.js

Attempts to go online, making sure this web application's web site is available. 'callback' is called asychronously with the result of whether we were able to go online or not.

Usage

function (/*Function*/ callback) (view source)
parametertypedescription
callbackFunctionAn optional callback function that will receive one argument: whether the site is available or not and is boolean. If this function is not present we call dojo.xoff.onOnline instead if we are able to go online. console.debug("goOnline");

PropertiesBack to top