[open-ils-commits] r11683 - trunk/Open-ILS/web/js/dojo/openils/widget
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri Dec 26 16:28:15 EST 2008
Author: erickson
Date: 2008-12-26 16:28:11 -0500 (Fri, 26 Dec 2008)
New Revision: 11683
Modified:
trunk/Open-ILS/web/js/dojo/openils/widget/GridColumnPicker.js
Log:
use an arg hash instead of params
Modified: trunk/Open-ILS/web/js/dojo/openils/widget/GridColumnPicker.js
===================================================================
--- trunk/Open-ILS/web/js/dojo/openils/widget/GridColumnPicker.js 2008-12-26 19:53:50 UTC (rev 11682)
+++ trunk/Open-ILS/web/js/dojo/openils/widget/GridColumnPicker.js 2008-12-26 21:28:11 UTC (rev 11683)
@@ -39,11 +39,11 @@
* Load the fields from the grid and map them to the MenuItem's.
* Load settings from server
*/
- init : function(grid, persistPrefix, authtoken) {
+ init : function(args) {
- this.grid = grid;
- this.persistPrefix = persistPrefix
- this.authtoken = authtoken;
+ this.grid = args.grid;
+ this.persistPrefix = args.prefix;
+ this.authtoken = args.authtoken;
this.cells = this.grid.structure[0].cells[0];
var self = this;
More information about the open-ils-commits
mailing list