Browse Source

- fixed cleanup of manipulation mixin

v3_develop
Alex de Mulder 10 years ago
parent
commit
832a0aa2fa
3 changed files with 25111 additions and 25109 deletions
  1. +25106
    -25105
      dist/vis.js
  2. +1
    -1
      examples/network/21_data_manipulation.html
  3. +4
    -3
      lib/network/mixins/MixinLoader.js

+ 25106
- 25105
dist/vis.js
File diff suppressed because it is too large
View File


+ 1
- 1
examples/network/21_data_manipulation.html View File

@ -1,7 +1,7 @@
<!doctype html>
<html>
<head>
<title>Network | Navigation</title>
<title>Network | Data Manipulation</title>
<style type="text/css">
body {

+ 4
- 3
lib/network/mixins/MixinLoader.js View File

@ -157,10 +157,11 @@ exports._loadManipulationSystem = function () {
if (this.manipulationDiv !== undefined) {
// removes all the bindings and overloads
this._createManipulatorBar();
// remove the manipulation divs
this.containerElement.removeChild(this.manipulationDiv);
this.containerElement.removeChild(this.editModeDiv);
this.containerElement.removeChild(this.closeDiv);
this.frame.removeChild(this.manipulationDiv);
this.frame.removeChild(this.editModeDiv);
this.frame.removeChild(this.closeDiv);
this.manipulationDiv = undefined;
this.editModeDiv = undefined;

Loading…
Cancel
Save