From: miker Date: Fri, 5 Mar 2010 16:58:40 +0000 (+0000) Subject: provide formatters for translation grid cells; move some inline js to the end, as... X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=1313c6ac9fcca017b1059e2ff20458937be1687c;p=evergreen%2Ftadl.git provide formatters for translation grid cells; move some inline js to the end, as the nodes referenced to exist yet; fix a couple typos/double-pastes git-svn-id: svn://svn.open-ils.org/ILS/trunk@15714 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/web/conify/global/config/copy_status.html b/Open-ILS/web/conify/global/config/copy_status.html index b385ef02ca..2fa14c9a56 100644 --- a/Open-ILS/web/conify/global/config/copy_status.html +++ b/Open-ILS/web/conify/global/config/copy_status.html @@ -65,10 +65,6 @@ + diff --git a/Open-ILS/web/conify/global/config/marc_code_maps.html b/Open-ILS/web/conify/global/config/marc_code_maps.html index 7974a4538e..7501bdcc0b 100644 --- a/Open-ILS/web/conify/global/config/marc_code_maps.html +++ b/Open-ILS/web/conify/global/config/marc_code_maps.html @@ -81,6 +81,9 @@ { name : cam_strings.LABEL_TRANSLATION, width : "10em", height : "2em", + formatter : function (row) { + return ''; + }, get : function (row) { if (!grid_row_object_cache.cam) grid_row_object_cache.cam = []; var r = this.grid.model.getRow(row); @@ -96,7 +99,7 @@ ); var oldnode = dojo.byId('value_translation_cam_' + row); if (oldnode) dijit.byNode(oldnode).destroyRecursive(); - return ''; + return row; } return ''; } @@ -104,6 +107,9 @@ { name : cam_strings.LABEL_TRANSLATION, width : "10em", height : "2em", + formatter : function (row) { + return ''; + }, get : function (row) { if (!grid_row_object_cache.cam) grid_row_object_cache.cam = []; var r = this.grid.model.getRow(row); @@ -119,7 +125,7 @@ ); var oldnode = dojo.byId('description_translation_cam_' + row); if (oldnode) dijit.byNode(oldnode).destroyRecursive(); - return ''; + return row; } return ''; } @@ -171,6 +177,9 @@ { name : cam_strings.LABEL_TRANSLATION, width : "10em", height : "2em", + formatter : function (row) { + return ''; + }, get : function (row) { if (!grid_row_object_cache[classname]) grid_row_object_cache[classname] = []; var r = this.grid.model.getRow(row); @@ -186,7 +195,7 @@ ); var oldnode = dojo.byId('value_translation_' + classname + '_' + row); if (oldnode) dijit.byNode(oldnode).destroyRecursive(); - return ''; + return row; } return ''; } diff --git a/Open-ILS/web/conify/global/config/marc_code_maps.js b/Open-ILS/web/conify/global/config/marc_code_maps.js index 8cc2306d29..4589a9870b 100644 --- a/Open-ILS/web/conify/global/config/marc_code_maps.js +++ b/Open-ILS/web/conify/global/config/marc_code_maps.js @@ -41,7 +41,7 @@ console.log('loading marc_code_maps.js'); // some handy globals var cgi = new CGI(); var ses = dojo.cookie('ses') || cgi.param('ses'); -var pCRUD = new openils.PermaCrudopenils.PermaCrud({authtoken:ses}); +var pCRUD = new openils.PermaCrud({authtoken:ses}); console.log('initialized pcrud session'); diff --git a/Open-ILS/web/conify/global/permission/perm_list.html b/Open-ILS/web/conify/global/permission/perm_list.html index a5cf65ae15..480d7e5a0a 100644 --- a/Open-ILS/web/conify/global/permission/perm_list.html +++ b/Open-ILS/web/conify/global/permission/perm_list.html @@ -63,10 +63,6 @@ +