[open-ils-commits] r12982 - trunk/Open-ILS/web/js/ui/default/conify/global/action_trigger (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri Apr 24 15:45:13 EDT 2009
Author: erickson
Date: 2009-04-24 15:45:09 -0400 (Fri, 24 Apr 2009)
New Revision: 12982
Modified:
trunk/Open-ILS/web/js/ui/default/conify/global/action_trigger/event_definition.js
Log:
use custom textarea widget
Modified: trunk/Open-ILS/web/js/ui/default/conify/global/action_trigger/event_definition.js
===================================================================
--- trunk/Open-ILS/web/js/ui/default/conify/global/action_trigger/event_definition.js 2009-04-24 19:44:53 UTC (rev 12981)
+++ trunk/Open-ILS/web/js/ui/default/conify/global/action_trigger/event_definition.js 2009-04-24 19:45:09 UTC (rev 12982)
@@ -1,11 +1,11 @@
dojo.require('dijit.layout.TabContainer');
-dojo.require('dijit.form.Textarea');
dojo.require('dijit.form.FilteringSelect');
dojo.require('dijit.form.TextBox');
dojo.require('dojo.data.ItemFileReadStore');
dojo.require('openils.widget.AutoGrid');
dojo.require('openils.Util');
dojo.require('openils.PermaCrud');
+dojo.require('openils.widget.Textarea');
dojo.require('openils.widget.ProgressDialog');
dojo.requireLocalization('openils.conify', 'conify');
@@ -13,7 +13,9 @@
function loadEventDef() {
edGrid.loadAll({order_by:{atevdef : 'hook'}});
- edGrid.overrideEditWidgetClass.template = 'dijit.form.Textarea';
+ openils.widget.Textarea.width = '600px';
+ openils.widget.Textarea.height = '600px';
+ edGrid.overrideEditWidgetClass.template = 'openils.widget.Textarea';
dojo.connect(eventDefTabs,'selectChild', tabLoader);
}
@@ -21,6 +23,7 @@
function tabLoader(child) {
if(loadedTabs[child.id]) return;
loadedTabs[child.id] = true;
+
switch(child.id) {
case 'tab-atevparam':
tepGrid.loadAll({order_by:{atevparam : 'event_def'}});
More information about the open-ils-commits
mailing list