Author: reebalazs
Date: Sat Oct  6 12:25:01 2007
New Revision: 47229

Modified:
   kukit/kukit.js/trunk/kukit/forms.js
Log:
Make kukit.fo.fieldUpdateRegistry global, as this is meant to be used by 
plugins.

Modified: kukit/kukit.js/trunk/kukit/forms.js
==============================================================================
--- kukit/kukit.js/trunk/kukit/forms.js (original)
+++ kukit/kukit.js/trunk/kukit/forms.js Sat Oct  6 12:25:01 2007
@@ -167,7 +167,7 @@
     // Returns the value of the form element / or null
     // First: update the field in case an editor is lurking
     // in the background
-    _fieldUpdateRegistry.doUpdate(element);
+    fieldUpdateRegistry.doUpdate(element);
     // Collect the data
     if (element.selectedIndex != undefined) {
         // handle single selects first
@@ -298,7 +298,9 @@
     }
 };
 
-var _fieldUpdateRegistry = new _FieldUpdateRegistry();
+// fieldUpdateRegistry is a public service, available to all components
+// that want to be notified when kss wants to use a field value.
+this.fieldUpdateRegistry = new _FieldUpdateRegistry();
 
 
 // Registry of the pprovider functions for kssSubmitForm
_______________________________________________
Kukit-checkins mailing list
[email protected]
http://codespeak.net/mailman/listinfo/kukit-checkins

Reply via email to