From db67c9cd6d9767355b1ff2ef06200921abe97941 Mon Sep 17 00:00:00 2001 From: erickson Date: Fri, 26 Dec 2008 21:28:11 +0000 Subject: [PATCH] use an arg hash instead of params git-svn-id: svn://svn.open-ils.org/ILS/trunk@11683 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/web/js/dojo/openils/widget/GridColumnPicker.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Open-ILS/web/js/dojo/openils/widget/GridColumnPicker.js b/Open-ILS/web/js/dojo/openils/widget/GridColumnPicker.js index 632b96e260..1774a08d94 100644 --- a/Open-ILS/web/js/dojo/openils/widget/GridColumnPicker.js +++ b/Open-ILS/web/js/dojo/openils/widget/GridColumnPicker.js @@ -39,11 +39,11 @@ if(!dojo._hasResource['openils.widget.GridColumnPicker']) { * 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; -- 2.11.0