Skip to content

Commit

Permalink
Merge pull request #699 from openworm/vfb-8/17
Browse files Browse the repository at this point in the history
fix from Vfb 8/17
  • Loading branch information
Robbie1977 authored Oct 24, 2017
2 parents d27ab88 + 018f0d7 commit 4c6af08
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/main/webapp/js/components/widgets/Widget.js
Original file line number Diff line number Diff line change
Expand Up @@ -660,6 +660,7 @@ define(function (require) {
top: 10,
height: 300,
width: 350,
closeOnEscape: false,
close: function (event, ui) {
if (event.originalEvent &&
$(event.originalEvent.target).closest(".ui-dialog-titlebar-close").length) {
Expand Down
1 change: 1 addition & 0 deletions src/main/webapp/js/components/widgets/WidgetCapability.js
Original file line number Diff line number Diff line change
Expand Up @@ -544,6 +544,7 @@ define(function (require) {
top: 10,
height: this.props.size.height,
width: this.props.size.width,
closeOnEscape: false,
position: {
my: "left+" + this.props.position.left + " top+" + this.props.position.top,
at: "left top",
Expand Down
5 changes: 5 additions & 0 deletions src/main/webapp/js/components/widgets/plot/Plot.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ define(function (require) {
var $ = require('jquery');
var math = require('mathjs');
var Plotly = require('plotly.js/lib/core');

Plotly.register([
require('plotly.js/lib/heatmap'),
]);


var FileSaver = require('file-saver');
var pako = require('pako');
Expand Down

0 comments on commit 4c6af08

Please sign in to comment.