Special overriden widgets need forcible population when used in edit dialogs
authorsenator <senator@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 27 Sep 2010 20:54:56 +0000 (20:54 +0000)
committersenator <senator@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 27 Sep 2010 20:54:56 +0000 (20:54 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@18051 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/js/ui/default/conify/global/action_trigger/event_definition.js

index d56b91d..c7e43fb 100644 (file)
@@ -16,6 +16,7 @@ var eventDef = null;
 function loadEventDef() { 
     eventDefGranularity.attr('value', null);
     edGrid.overrideEditWidgets.granularity = eventDefGranularity;
+    edGrid.overrideEditWidgets.granularity.shove = {"create": ""};
     edGrid.loadAll({order_by:{atevdef : 'hook'}}); 
     openils.widget.Textarea.width = '600px';
     openils.widget.Textarea.height = '600px';