[open-ils-commits] r20415 - branches/rel_2_1/Open-ILS/xul/staff_client/server/serial (dbwells)
svn at svn.open-ils.org
svn at svn.open-ils.org
Wed May 4 09:49:25 EDT 2011
Author: dbwells
Date: 2011-05-04 09:49:23 -0400 (Wed, 04 May 2011)
New Revision: 20415
Modified:
branches/rel_2_1/Open-ILS/xul/staff_client/server/serial/sbsum_editor.js
branches/rel_2_1/Open-ILS/xul/staff_client/server/serial/scap_editor.js
branches/rel_2_1/Open-ILS/xul/staff_client/server/serial/siss_editor.js
branches/rel_2_1/Open-ILS/xul/staff_client/server/serial/sisum_editor.js
branches/rel_2_1/Open-ILS/xul/staff_client/server/serial/sssum_editor.js
Log:
Fix some Serial Control text boxes which were too small to use effectively.
Modified: branches/rel_2_1/Open-ILS/xul/staff_client/server/serial/sbsum_editor.js
===================================================================
--- branches/rel_2_1/Open-ILS/xul/staff_client/server/serial/sbsum_editor.js 2011-05-04 13:48:56 UTC (rev 20414)
+++ branches/rel_2_1/Open-ILS/xul/staff_client/server/serial/sbsum_editor.js 2011-05-04 13:49:23 UTC (rev 20415)
@@ -76,7 +76,7 @@
[
'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'
}
],
Modified: branches/rel_2_1/Open-ILS/xul/staff_client/server/serial/scap_editor.js
===================================================================
--- branches/rel_2_1/Open-ILS/xul/staff_client/server/serial/scap_editor.js 2011-05-04 13:48:56 UTC (rev 20414)
+++ branches/rel_2_1/Open-ILS/xul/staff_client/server/serial/scap_editor.js 2011-05-04 13:49:23 UTC (rev 20415)
@@ -98,7 +98,7 @@
[
'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'
}
]
Modified: branches/rel_2_1/Open-ILS/xul/staff_client/server/serial/siss_editor.js
===================================================================
--- branches/rel_2_1/Open-ILS/xul/staff_client/server/serial/siss_editor.js 2011-05-04 13:48:56 UTC (rev 20414)
+++ branches/rel_2_1/Open-ILS/xul/staff_client/server/serial/siss_editor.js 2011-05-04 13:49:23 UTC (rev 20415)
@@ -137,7 +137,7 @@
[
'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'
}
],
Modified: branches/rel_2_1/Open-ILS/xul/staff_client/server/serial/sisum_editor.js
===================================================================
--- branches/rel_2_1/Open-ILS/xul/staff_client/server/serial/sisum_editor.js 2011-05-04 13:48:56 UTC (rev 20414)
+++ branches/rel_2_1/Open-ILS/xul/staff_client/server/serial/sisum_editor.js 2011-05-04 13:49:23 UTC (rev 20415)
@@ -76,7 +76,7 @@
[
'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'
}
],
Modified: branches/rel_2_1/Open-ILS/xul/staff_client/server/serial/sssum_editor.js
===================================================================
--- branches/rel_2_1/Open-ILS/xul/staff_client/server/serial/sssum_editor.js 2011-05-04 13:48:56 UTC (rev 20414)
+++ branches/rel_2_1/Open-ILS/xul/staff_client/server/serial/sssum_editor.js 2011-05-04 13:49:23 UTC (rev 20415)
@@ -76,7 +76,7 @@
[
'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'
}
],
More information about the open-ils-commits
mailing list