diff options
| author | Xavier Morel <xmo@openerp.com> | 2011-06-28 16:09:07 +0200 |
|---|---|---|
| committer | Xavier Morel <xmo@openerp.com> | 2011-06-28 16:09:07 +0200 |
| commit | 79a24bd46ee4b4d961afbfea78e746f754e24ed9 (patch) | |
| tree | e24daac38546ab17eeecd25979b0601f05671325 /addons/web_graph/static/lib/dhtmlxGraph/codebase/dhtmlxchart_debug.js | |
| parent | 97da93d3a1140d6cb543bdadb8953000bc43d8c1 (diff) | |
[FIX] removal of unique() callbacks from callback chains
Array.prototype.pop() does *not* take a parameter, it always removes the last item of the array.
To remove items in the middle of an array, Array.prototype.splice(index, 1) has to be used.
This fixes an issue where adding a unique non-last callback (either added as non-last, or with other stuff added after it) would result in nonsensical behavior
bzr revid: xmo@openerp.com-20110628140907-5sch98gmwcnpvk3t
Diffstat (limited to 'addons/web_graph/static/lib/dhtmlxGraph/codebase/dhtmlxchart_debug.js')
0 files changed, 0 insertions, 0 deletions
