Dojo released 1.2.0 a few days ago; here are my findings as of last
night (yay planes) with a quick run-through of Conify and Vandelay:

  * no more dojo.js.uncompressed.js - so in those few places where we
did call it, we would need to just point at dojo.js instead (a
debugging version must still be available but our defaults in
delivered files should point to dojo.js anyway)
  * dojox.grid._data.* has moved to dojox.grid.compat._data.* (this is
now deprecated and will no longer be maintained - a new Grid has been
added that will be the preferred grid going forward)
  * dojox.grid.editors has moved to dojox.grid.compat._data.editors

I have attached a patch for Conify; no changes were needed for
Vandelay. My testing was largely to the point of getting things
working without JS errors in Conify and Vandelay, and testing date
picker widget / display in the OPAC, but nothing deeper.

So the question: should we switch to 1.2.0 using these compatibility
mechanisms so that the prereq will already be in place if we decide to
rewrite to use the new "easier-to-use" Grids? Or maybe it's a moot
point because we're going to sidestep the problem by packaging our own
Dojo build for EG anyway.

-- 
Dan Scott
Laurentian University
Index: Open-ILS/web/conify/global/config/marc_code_maps.html
===================================================================
--- Open-ILS/web/conify/global/config/marc_code_maps.html	(revision 10754)
+++ Open-ILS/web/conify/global/config/marc_code_maps.html	(working copy)
@@ -14,7 +14,7 @@
 -->
 <html xmlns="http://www.w3.org/1999/xhtml";>
 	<head>
-		<title>Confiy :: Global :: Config :: MARC Code Maps</title>
+		<title>Conify :: Global :: Config :: MARC Code Maps</title>
 
 		<style type="text/css">
 			@import url("/js/dojo/dojox/grid/_grid/tundraGrid.css");
@@ -51,8 +51,8 @@
 		<script language='javascript' src='/opac/common/js/JSON_v1.js' type='text/javascript'></script>
 
 		<!-- Dojo goodness -->
-		<script type="text/javascript" src="/js/dojo/dojo/dojo.js.uncompressed.js" djConfig="parseOnLoad: true"></script>
-		<script type="text/javascript" src="/js/dojo/dijit/dijit.js.uncompressed.js"></script>
+		<script type="text/javascript" src="/js/dojo/dojo/dojo.js" djConfig="parseOnLoad: true"></script>
+		<script type="text/javascript" src="/js/dojo/dijit/dijit.js"></script>
 
 		<script type="text/javascript" src="marc_code_maps.js"></script>
 
Index: Open-ILS/web/conify/global/permission/grp_tree.js
===================================================================
--- Open-ILS/web/conify/global/permission/grp_tree.js	(revision 10754)
+++ Open-ILS/web/conify/global/permission/grp_tree.js	(working copy)
@@ -37,8 +37,8 @@
 dojo.require('dojox.widget.Toaster');
 dojo.require('dojox.fx');
 dojo.require('dojox.grid.Grid');
-dojo.require('dojox.grid._data.model');
-dojo.require("dojox.grid.editors");
+dojo.require('dojox.grid.compat._data.model');
+dojo.require("dojox.grid.compat._data.editors");
 
 // some handy globals
 var cgi = new CGI();
Index: Open-ILS/web/conify/global/permission/perm_list.js
===================================================================
--- Open-ILS/web/conify/global/permission/perm_list.js	(revision 10754)
+++ Open-ILS/web/conify/global/permission/perm_list.js	(working copy)
@@ -29,8 +29,8 @@
 dojo.require('dojox.widget.Toaster');
 dojo.require('dojox.fx');
 dojo.require('dojox.grid.Grid');
-dojo.require('dojox.grid._data.model');
-dojo.require("dojox.grid.editors");
+dojo.require('dojox.grid.compat._data.model');
+dojo.require("dojox.grid.compat._data.editors");
 
 // some handy globals
 var cgi = new CGI();

Reply via email to