diff options
| author | vta vta@openerp.com <> | 2012-10-12 15:10:44 +0200 |
|---|---|---|
| committer | vta vta@openerp.com <> | 2012-10-12 15:10:44 +0200 |
| commit | 49c1c88962dbd4c47fefa33d190a8a6ff6b940c2 (patch) | |
| tree | 303418c837b52fa7db35d29ea423ed6fef5d9204 /addons/web_diagram/static/src | |
| parent | 40d2a376ca8e6ea7c66ebf77a13b11f48257977e (diff) | |
[FIX] Fixed naming related to selected_elements.
bzr revid: vta@openerp.com-20121012131044-w4afp0shefzwlo7t
Diffstat (limited to 'addons/web_diagram/static/src')
| -rw-r--r-- | addons/web_diagram/static/src/js/diagram.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/web_diagram/static/src/js/diagram.js b/addons/web_diagram/static/src/js/diagram.js index 8672c9a0742..4bae1aed3db 100644 --- a/addons/web_diagram/static/src/js/diagram.js +++ b/addons/web_diagram/static/src/js/diagram.js @@ -273,7 +273,7 @@ instance.web.DiagramView = instance.web.View.extend({ self.dataset.domain, self.context || self.dataset.context ); - pop.on("select_elements", self, function(element_ids) { + pop.on("elements_selected", self, function(element_ids) { self.dataset.read_index(_.keys(self.fields_view.fields)).pipe(self.on_diagram_loaded); }); @@ -325,7 +325,7 @@ instance.web.DiagramView = instance.web.View.extend({ this.dataset.domain, this.context || this.dataset.context ); - pop.on("select_elements", self, function(element_ids) { + pop.on("elements_selected", self, function(element_ids) { self.dataset.read_index(_.keys(self.fields_view.fields)).pipe(self.on_diagram_loaded); }); // We want to destroy the dummy edge after a creation cancel. This destroys it even if we save the changes. |
