Browse Source

Fixed #688: Added a css class to be able to distinguish buttons "Edit node" and "Edit edge".

v3_develop
jos 9 years ago
parent
commit
cfa3499ead
3 changed files with 7 additions and 5 deletions
  1. +2
    -0
      HISTORY.md
  2. +3
    -3
      dist/vis.js
  3. +2
    -2
      lib/network/mixins/ManipulationMixin.js

+ 2
- 0
HISTORY.md View File

@ -15,6 +15,8 @@ http://visjs.org
- Allow hierarchical view to be set in setOptions. - Allow hierarchical view to be set in setOptions.
- Fixed manipulation bar for mobile. - Fixed manipulation bar for mobile.
- Fixed #670: Bug when updating data in a DataSet, when Network is connected to the DataSet via a DataView. - Fixed #670: Bug when updating data in a DataSet, when Network is connected to the DataSet via a DataView.
- Fixed #688: Added a css class to be able to distinguish buttons "Edit node"
and "Edit edge".
### Timeline ### Timeline

+ 3
- 3
dist/vis.js View File

@ -5,7 +5,7 @@
* A dynamic, browser-based visualization library. * A dynamic, browser-based visualization library.
* *
* @version 3.10.1-SNAPSHOT * @version 3.10.1-SNAPSHOT
* @date 2015-03-04
* @date 2015-03-05
* *
* @license * @license
* Copyright (C) 2011-2014 Almende B.V, http://almende.com * Copyright (C) 2011-2014 Almende B.V, http://almende.com
@ -33664,7 +33664,7 @@ return /******/ (function(modules) { // webpackBootstrap
this.manipulationDOM['seperatorLineDiv2'].className = 'network-seperatorLine'; this.manipulationDOM['seperatorLineDiv2'].className = 'network-seperatorLine';
this.manipulationDOM['editNodeSpan'] = document.createElement('div'); this.manipulationDOM['editNodeSpan'] = document.createElement('div');
this.manipulationDOM['editNodeSpan'].className = 'network-manipulationUI edit';
this.manipulationDOM['editNodeSpan'].className = 'network-manipulationUI edit node';
this.manipulationDOM['editNodeLabelSpan'] = document.createElement('div'); this.manipulationDOM['editNodeLabelSpan'] = document.createElement('div');
this.manipulationDOM['editNodeLabelSpan'].className = 'network-manipulationLabel'; this.manipulationDOM['editNodeLabelSpan'].className = 'network-manipulationLabel';
this.manipulationDOM['editNodeLabelSpan'].innerHTML = locale['editNode']; this.manipulationDOM['editNodeLabelSpan'].innerHTML = locale['editNode'];
@ -33678,7 +33678,7 @@ return /******/ (function(modules) { // webpackBootstrap
this.manipulationDOM['seperatorLineDiv3'].className = 'network-seperatorLine'; this.manipulationDOM['seperatorLineDiv3'].className = 'network-seperatorLine';
this.manipulationDOM['editEdgeSpan'] = document.createElement('div'); this.manipulationDOM['editEdgeSpan'] = document.createElement('div');
this.manipulationDOM['editEdgeSpan'].className = 'network-manipulationUI edit';
this.manipulationDOM['editEdgeSpan'].className = 'network-manipulationUI edit edge';
this.manipulationDOM['editEdgeLabelSpan'] = document.createElement('div'); this.manipulationDOM['editEdgeLabelSpan'] = document.createElement('div');
this.manipulationDOM['editEdgeLabelSpan'].className = 'network-manipulationLabel'; this.manipulationDOM['editEdgeLabelSpan'].className = 'network-manipulationLabel';
this.manipulationDOM['editEdgeLabelSpan'].innerHTML = locale['editEdge']; this.manipulationDOM['editEdgeLabelSpan'].innerHTML = locale['editEdge'];

+ 2
- 2
lib/network/mixins/ManipulationMixin.js View File

@ -138,7 +138,7 @@ exports._createManipulatorBar = function() {
this.manipulationDOM['seperatorLineDiv2'].className = 'network-seperatorLine'; this.manipulationDOM['seperatorLineDiv2'].className = 'network-seperatorLine';
this.manipulationDOM['editNodeSpan'] = document.createElement('div'); this.manipulationDOM['editNodeSpan'] = document.createElement('div');
this.manipulationDOM['editNodeSpan'].className = 'network-manipulationUI edit';
this.manipulationDOM['editNodeSpan'].className = 'network-manipulationUI edit node';
this.manipulationDOM['editNodeLabelSpan'] = document.createElement('div'); this.manipulationDOM['editNodeLabelSpan'] = document.createElement('div');
this.manipulationDOM['editNodeLabelSpan'].className = 'network-manipulationLabel'; this.manipulationDOM['editNodeLabelSpan'].className = 'network-manipulationLabel';
this.manipulationDOM['editNodeLabelSpan'].innerHTML = locale['editNode']; this.manipulationDOM['editNodeLabelSpan'].innerHTML = locale['editNode'];
@ -152,7 +152,7 @@ exports._createManipulatorBar = function() {
this.manipulationDOM['seperatorLineDiv3'].className = 'network-seperatorLine'; this.manipulationDOM['seperatorLineDiv3'].className = 'network-seperatorLine';
this.manipulationDOM['editEdgeSpan'] = document.createElement('div'); this.manipulationDOM['editEdgeSpan'] = document.createElement('div');
this.manipulationDOM['editEdgeSpan'].className = 'network-manipulationUI edit';
this.manipulationDOM['editEdgeSpan'].className = 'network-manipulationUI edit edge';
this.manipulationDOM['editEdgeLabelSpan'] = document.createElement('div'); this.manipulationDOM['editEdgeLabelSpan'] = document.createElement('div');
this.manipulationDOM['editEdgeLabelSpan'].className = 'network-manipulationLabel'; this.manipulationDOM['editEdgeLabelSpan'].className = 'network-manipulationLabel';
this.manipulationDOM['editEdgeLabelSpan'].innerHTML = locale['editEdge']; this.manipulationDOM['editEdgeLabelSpan'].innerHTML = locale['editEdge'];

Loading…
Cancel
Save