From: Jason Etheridge Date: Fri, 3 Jun 2011 19:58:52 +0000 (-0400) Subject: tweak function name X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=11908662b2a67dd4dac03d715e2fb97a48adfe64;p=contrib%2FConifer.git tweak function name Signed-off-by: Jason Etheridge --- diff --git a/Open-ILS/xul/staff_client/server/cat/copy_editor.js b/Open-ILS/xul/staff_client/server/cat/copy_editor.js index 44bfaaa625..0ce4db1bdb 100644 --- a/Open-ILS/xul/staff_client/server/cat/copy_editor.js +++ b/Open-ILS/xul/staff_client/server/cat/copy_editor.js @@ -168,7 +168,7 @@ function my_init() { try { g.copies = xulG.copies; g.original_copies = js2JSON( g.copies ); - g.show_copy_notes_button(); + g.hide_copy_notes_button(); for (var i = 0; i < g.applied_templates.length; i++) { g._apply_template( g.applied_templates[i], false); } @@ -186,7 +186,7 @@ function my_init() { g.changed[ 'volume_copy_creator.'+id ] = { 'type' : 'volume_copy_creator', 'field' : id, 'value' : v }; } } else { - g.show_copy_notes_button(); + g.hide_copy_notes_button(); } } catch(E) { @@ -198,7 +198,7 @@ function my_init() { /******************************************************************************************************/ /* Show copy notes button */ -g.show_copy_notes_button = function() { +g.hide_copy_notes_button = function() { if (g.copies.length > 0 && g.copies[0].id() < 0) { document.getElementById('copy_notes').setAttribute('hidden','true'); $('save').setAttribute('label', $('catStrings').getString('staff.cat.copy_editor.create_copies'));