This repository has been archived by the owner on Jan 15, 2019. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add backward compatibility for renamed function customColumnPerfdataS…
…anatized Signed-off-by: Eric Lippmann <eric.lippmann@netways.de> fixes #5065 Conflicts: app/modules/Cronks/config/javascript.xml
- Loading branch information
1 parent
9f30a09
commit 380ca61
Showing
2 changed files
with
26 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
app/modules/Cronks/lib/js/Cronk/grid/renderer/bc_customColumnPerfdataSanatized.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
/* | ||
* Add backward compatibility for renamed function customColumnPerfdataSanatized | ||
* @author Markus Frosch <markus.frosch@netways.de> | ||
*/ | ||
(function () { | ||
if (typeof Cronk.grid.ColumnRenderer.customColumnPerfdataSanatized !== 'function') { | ||
Cronk.grid.ColumnRenderer.customColumnPerfdataSanatized = function (cfg) { | ||
return Cronk.grid.ColumnRenderer.customColumnPerfdataSanitized(cfg); | ||
}; | ||
} | ||
})(); |