Selaa lähdekoodia

Prerequisites to the custom fields

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@3907 a333f486-631f-4898-b8df-5754b55c2be0
romainq 9 vuotta sitten
vanhempi
commit
f0baf39159
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      js/form_handler.js

+ 2 - 2
js/form_handler.js

@@ -95,7 +95,7 @@ $(function()
         {
             this._super( key, value );
         },
-        _getCurrentValues: function()
+        getCurrentValues: function()
         {
             var result = {};
             
@@ -165,7 +165,7 @@ $(function()
                         operation: 'update',
                         formmanager_class: this.options.formmanager_class,
                         formmanager_data: JSON.stringify(this.options.formmanager_data),
-                        current_values: this._getCurrentValues(),
+                        current_values: this.getCurrentValues(),
                         requested_fields: requestedFields
                     },
                     function(data){