From: erickson Date: Fri, 26 Dec 2008 21:28:11 +0000 (+0000) Subject: use an arg hash instead of params X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=db67c9cd6d9767355b1ff2ef06200921abe97941;p=Evergreen.git use an arg hash instead of params git-svn-id: svn://svn.open-ils.org/ILS/trunk@11683 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- 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;