- try {
-
- require(["dojo/_base/kernel",
- "dojo/ready",
- "dojo/parser",
- "dojo/_base/loader",
- "dijit/ColorPalette",
- "dijit/Dialog",
- "dijit/form/Button",
- "dijit/form/CheckBox",
- "dijit/form/DropDownButton",
- "dijit/form/FilteringSelect",
- "dijit/form/Form",
- "dijit/form/RadioButton",
- "dijit/form/ComboButton",
- "dijit/form/Select",
- "dijit/form/SimpleTextarea",
- "dijit/form/TextBox",
- "dijit/form/ValidationTextBox",
- "dijit/InlineEditBox",
- "dijit/layout/AccordionContainer",
- "dijit/layout/AccordionPane",
- "dijit/layout/BorderContainer",
- "dijit/layout/ContentPane",
- "dijit/layout/TabContainer",
- "dijit/Menu",
- "dijit/ProgressBar",
- "dijit/Toolbar",
- "dijit/Tree",
- "dijit/tree/dndSource",
- "dojo/data/ItemFileWriteStore"], function (dojo, ready, parser) {
-
- ready(function() {
-
- dojo.require("lib.CheckBoxTree");
- dojo.require("fox.PrefFeedTree");
- dojo.require("fox.PrefFilterTree");
- dojo.require("fox.PrefLabelTree");
-
- parser.parse();
-
- loading_set_progress(50);
-
- var clientTzOffset = new Date().getTimezoneOffset() * 60;
-
- new Ajax.Request("backend.php", {
- parameters: {op: "rpc", method: "sanityCheck",
- clientTzOffset: clientTzOffset },
- onComplete: function(transport) {
- backend_sanity_check_callback(transport);
- } });
+ new Ajax.Request("backend.php", {
+ parameters: {
+ op: "rpc", method: "sanityCheck",
+ clientTzOffset: clientTzOffset
+ },
+ onComplete: function (transport) {
+ backend_sanity_check_callback(transport);
+ }