fixing translator for grids
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 28 Apr 2008 07:42:25 +0000 (07:42 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 28 Apr 2008 07:42:25 +0000 (07:42 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@9474 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/conify/global/config/copy_status.html
Open-ILS/web/conify/global/permission/perm_list.html
Open-ILS/web/conify/global/permission/perm_list.js

index 9b25ff3..21d88cb 100644 (file)
                                                                                                setTimeout(
                                                                                                        'dojo.query(".status_grid_trans_cell_' + row + '").'+
                                                                                                                'instantiate(openils.widget.TranslatorPopup,{field:"name",'+
-                                                                                                               'targetObject:"window.status_rows['+row+']",unique:"' + row + '"});'+
+                                                                                                               'targetObject:"window.status_rows['+row+']"});'+
                                                                                                                'status_grid.rowHeightChanged('+row+')',
                                                                                                        0
                                                                                                );
index 774a7b3..518ffeb 100644 (file)
                                                                                                window.perm_rows[row] = new ccs().fromHash(window.perm_data_model.getRow(row));
                                                                                                setTimeout(
                                                                                                        'dojo.query(".perm_grid_trans_desc_' + row + '").'+
-                                                                                                               'instantiate(openils.I18N.translationWidget,{field:"description",'+
-                                                                                                               'targetObject:"window.perm_rows['+row+']",unique:"' + row + '"});'+
+                                                                                                               'instantiate(openils.widget.TranslatorPopup,{field:"description",'+
+                                                                                                               'targetObject:"window.perm_rows['+row+']"});'+
                                                                                                                'perm_grid.rowHeightChanged('+row+')',
                                                                                                        0
                                                                                                );
index 55ea859..8d54750 100644 (file)
@@ -16,7 +16,7 @@
 */
 
 dojo.require('fieldmapper.dojoData');
-dojo.require('openils.I18N');
+dojo.require('openils.widget.TranslatorPopup');
 dojo.require('dojo.parser');
 dojo.require('dojo.string');
 dojo.require('dojo.data.ItemFileWriteStore');