~unifield-team/unifield-web/uf-2235

« back to all changes in this revision

Viewing changes to addons/openerp/static/javascript/openerp/openerp.base.js

  • Committer: jf
  • Date: 2013-05-24 16:03:21 UTC
  • mfrom: (4708.1.2 unifield-web)
  • Revision ID: jfb@tempo-consulting.fr-20130524160321-an28w20b8lsl3vq1
UF-748 [FIX] js performance
OEB-101 [FIX] exponential call to form_onAttrChange
lp:~unifield-team/unifield-web/web-UF-748

Show diffs side-by-side

added added

removed removed

Lines of Context:
82
82
                    console.warn("Failed to load ", xhr.url, ":", xhr.status, xhr.statusText);
83
83
                }
84
84
        }
 
85
        form_hookStateChange();
 
86
        form_hookAttrChange();
85
87
    };
86
88
}
87
89
 
159
161
        if (val == 'False' || val == '') {
160
162
            initial_onchange_triggers();
161
163
        }
 
164
        form_hookStateChange();
 
165
        form_hookAttrChange();
162
166
    };
163
167
}
164
168