-issue: Resizing table throws a JavaScript error

This commit is contained in:
cigamit committed 2019-01-20 12:57:33 -06:00
1 parent a41bc3a677
commit ea02c906e1
2 files changed
+8 -2

No files matched your search

+3
View File
@@ -26,6 +26,9 @@ Cacti CHANGELOG
-issue: Plugin dependency handling inconsistant
-issue: Editing a report shows incorrect graphs from dropdown
develop
-issue: Resizing table throws a JavaScript error
1.2.0
-feature: Add a Timeout setting for Remote Agent calls
-feature: Add Graphs and Data Sources hyperlinks on Device page
+5 -2
View File
@@ -2260,12 +2260,15 @@ function saveTableWidths(initial) {
* the jQueryUI function resizable. It also calls the saveTableWidths function
* to store the widths in localStorage every time a column is resized. */
function applyTableSizing() {
var originalSize = 0;
var colWidth = 0;
$('.tableHeader').not('.tableFixed').find('th').resizable({
handles: 'e',
start: function(event, ui) {
var colWidth = $(this).width();
var originalSize = ui.size.width;
colWidth = $(this).width();
originalSize = ui.size.width;
if (originalSize == 0) {
originalSize = $(this).width();