mirror of
https://github.com/Cacti/cacti.git
synced 2026-11-09 14:02:54 +09:00
-issue: Resizing table throws a JavaScript error
This commit is contained in:
1 parent
a41bc3a677
commit
ea02c906e1
2 files changed
+8
-2
No files matched your search
@@ -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
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user