From a355027cfe2db80cfe2adefe729ba560024f3d6e Mon Sep 17 00:00:00 2001 From: dbwells Date: Wed, 4 May 2011 13:48:20 +0000 Subject: [PATCH] Fix some Serial Control text boxes which were too small to use effectively. git-svn-id: svn://svn.open-ils.org/ILS/trunk@20412 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- .../xul/staff_client/server/serial/sbsum_editor.js | 2 +- .../xul/staff_client/server/serial/scap_editor.js | 2 +- .../xul/staff_client/server/serial/siss_editor.js | 2 +- .../xul/staff_client/server/serial/sisum_editor.js | 2 +- .../xul/staff_client/server/serial/sssum_editor.js | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Open-ILS/xul/staff_client/server/serial/sbsum_editor.js b/Open-ILS/xul/staff_client/server/serial/sbsum_editor.js index 8919a6e..1dc83ac 100644 --- a/Open-ILS/xul/staff_client/server/serial/sbsum_editor.js +++ b/Open-ILS/xul/staff_client/server/serial/sbsum_editor.js @@ -76,7 +76,7 @@ serial.sbsum_editor.prototype = { [ 'textual_holdings', { - input: 'c = function(v){ obj.apply("textual_holdings",v); if (typeof post_c == "function") post_c(v); }; x = document.createElement("textbox"); x.setAttribute("size", 85); x.setAttribute("value",obj.editor_values.textual_holdings); x.addEventListener("apply",function(f){ return function(ev) { f(ev.target.value); } }(c), false);', + input: 'c = function(v){ obj.apply("textual_holdings",v); if (typeof post_c == "function") post_c(v); }; x = document.createElement("textbox"); x.setAttribute("multiline",true); x.setAttribute("cols", 80); x.setAttribute("value",obj.editor_values.textual_holdings); x.addEventListener("apply",function(f){ return function(ev) { f(ev.target.value); } }(c), false);', value_key: 'textual_holdings' } ], diff --git a/Open-ILS/xul/staff_client/server/serial/scap_editor.js b/Open-ILS/xul/staff_client/server/serial/scap_editor.js index 3131794..44f4627 100644 --- a/Open-ILS/xul/staff_client/server/serial/scap_editor.js +++ b/Open-ILS/xul/staff_client/server/serial/scap_editor.js @@ -98,7 +98,7 @@ serial.scap_editor.prototype = { [ 'pattern_code', { - input: 'c = function(v){ obj.apply("pattern_code",v); if (typeof post_c == "function") post_c(v); }; x = document.createElement("textbox"); x.setAttribute("value",obj.editor_values.pattern_code); x.addEventListener("apply",function(f){ return function(ev) { f(ev.target.value); } }(c), false);', + input: 'c = function(v){ obj.apply("pattern_code",v); if (typeof post_c == "function") post_c(v); }; x = document.createElement("textbox"); x.setAttribute("multiline",true); x.setAttribute("cols",40); x.setAttribute("value",obj.editor_values.pattern_code); x.addEventListener("apply",function(f){ return function(ev) { f(ev.target.value); } }(c), false);', value_key: 'pattern_code' } ] diff --git a/Open-ILS/xul/staff_client/server/serial/siss_editor.js b/Open-ILS/xul/staff_client/server/serial/siss_editor.js index 561e6bb..666c761 100644 --- a/Open-ILS/xul/staff_client/server/serial/siss_editor.js +++ b/Open-ILS/xul/staff_client/server/serial/siss_editor.js @@ -137,7 +137,7 @@ serial.siss_editor.prototype = { [ 'holding_code', { - input: 'c = function(v){ obj.apply("holding_code",v); if (typeof post_c == "function") post_c(v); }; x = document.createElement("textbox"); x.setAttribute("value",obj.editor_values.holding_code); x.addEventListener("apply",function(f){ return function(ev) { f(ev.target.value); } }(c), false);', + input: 'c = function(v){ obj.apply("holding_code",v); if (typeof post_c == "function") post_c(v); }; x = document.createElement("textbox"); x.setAttribute("multiline",true); x.setAttribute("cols",40); x.setAttribute("value",obj.editor_values.holding_code); x.addEventListener("apply",function(f){ return function(ev) { f(ev.target.value); } }(c), false);', value_key: 'holding_code' } ], diff --git a/Open-ILS/xul/staff_client/server/serial/sisum_editor.js b/Open-ILS/xul/staff_client/server/serial/sisum_editor.js index 4c0e5c4..8c8a7c7 100644 --- a/Open-ILS/xul/staff_client/server/serial/sisum_editor.js +++ b/Open-ILS/xul/staff_client/server/serial/sisum_editor.js @@ -76,7 +76,7 @@ serial.sisum_editor.prototype = { [ 'textual_holdings', { - input: 'c = function(v){ obj.apply("textual_holdings",v); if (typeof post_c == "function") post_c(v); }; x = document.createElement("textbox"); x.setAttribute("size", 85); x.setAttribute("value",obj.editor_values.textual_holdings); x.addEventListener("apply",function(f){ return function(ev) { f(ev.target.value); } }(c), false);', + input: 'c = function(v){ obj.apply("textual_holdings",v); if (typeof post_c == "function") post_c(v); }; x = document.createElement("textbox"); x.setAttribute("multiline",true); x.setAttribute("cols", 80); x.setAttribute("value",obj.editor_values.textual_holdings); x.addEventListener("apply",function(f){ return function(ev) { f(ev.target.value); } }(c), false);', value_key: 'textual_holdings' } ], diff --git a/Open-ILS/xul/staff_client/server/serial/sssum_editor.js b/Open-ILS/xul/staff_client/server/serial/sssum_editor.js index c1a3d1f..9ab8efc 100644 --- a/Open-ILS/xul/staff_client/server/serial/sssum_editor.js +++ b/Open-ILS/xul/staff_client/server/serial/sssum_editor.js @@ -76,7 +76,7 @@ serial.sssum_editor.prototype = { [ 'textual_holdings', { - input: 'c = function(v){ obj.apply("textual_holdings",v); if (typeof post_c == "function") post_c(v); }; x = document.createElement("textbox"); x.setAttribute("size", 85); x.setAttribute("value",obj.editor_values.textual_holdings); x.addEventListener("apply",function(f){ return function(ev) { f(ev.target.value); } }(c), false);', + input: 'c = function(v){ obj.apply("textual_holdings",v); if (typeof post_c == "function") post_c(v); }; x = document.createElement("textbox"); x.setAttribute("multiline",true); x.setAttribute("cols", 80); x.setAttribute("value",obj.editor_values.textual_holdings); x.addEventListener("apply",function(f){ return function(ev) { f(ev.target.value); } }(c), false);', value_key: 'textual_holdings' } ], -- 1.7.2.5