mirror of
https://github.com/apache/nifi.git
synced 2025-02-16 06:55:28 +00:00
NIFI-27:
- Addressing resizable issue after updating jquery UI.
This commit is contained in:
parent
d7b1113a86
commit
d5b20d463f
@ -395,7 +395,12 @@ nf.StatusHistory = (function () {
|
||||
}
|
||||
|
||||
// the container for the main chart
|
||||
var chartContainer = $('#status-history-chart-container').resizable('destroy').empty();
|
||||
var chartContainer = $('#status-history-chart-container').empty();
|
||||
if (chartContainer.hasClass('ui-resizable')) {
|
||||
chartContainer.resizable('destroy');
|
||||
}
|
||||
|
||||
// calculate the dimensions
|
||||
var width = chartContainer.width() - margin.left - margin.right;
|
||||
var height = chartContainer.height() - margin.top - margin.bottom;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user