Skip to content

Commit

Permalink
remove eval()
Browse files Browse the repository at this point in the history
  • Loading branch information
anbernabei authored May 21, 2024
1 parent c4f8306 commit d3049d9
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions knowage/src/main/webapp/js/spagobi.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,6 @@ function isIE7() {
}


function FCKeditor_OnComplete( editorInstance ) {
completeName = editorInstance.Name;
instanceName = completeName.substring(13, completeName.length);
var functocall = 'initializeNotes' + instanceName +'()';
eval(functocall);
}


function findPos(obj) {
curleft = curtop = 0;
if (obj.offsetParent) {
Expand Down Expand Up @@ -122,7 +114,7 @@ function delCookie (NameOfCookie) {
//
// window.onload = SbiJsInitializer.initialize;


/*
function SbiJsInitializerClass() {
this.initialize = Initialize;
Expand All @@ -143,7 +135,7 @@ function SbiJsInitializerClass() {
} catch (err) {
var SbiJsInitializer = new SbiJsInitializerClass();
}

*/

// END PORLTET JAVASCRIPT INTIIALIZER

Expand Down

0 comments on commit d3049d9

Please sign in to comment.