Fixed issue 19411: OB.OnChangeRegistry function now is well built
authorDavid Baz Fayos <david.baz@openbravo.com>
Wed, 04 Jan 2012 13:22:17 +0100
changeset 15065 edf472b58e99
parent 15064 f8a00d1435e7
child 15066 fe62ae83f382
Fixed issue 19411: OB.OnChangeRegistry function now is well built
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/ob-onchange-registry.js
--- a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/ob-onchange-registry.js	Tue Jan 03 21:28:22 2012 +0100
+++ b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/ob-onchange-registry.js	Wed Jan 04 13:22:17 2012 +0100
@@ -22,7 +22,7 @@
 // tab and field combination. Multiple callouts can be registered
 // for one field.
 OB.OnChangeRegistry = {
-    registry: [],
+    registry: {},
     
     register: function(tabId, field, callback, id) {
       var tabEntry, fieldEntry, i, overwritten = false;