deleted unused functions
This commit is contained in:
@@ -150,4 +150,4 @@ function init() {
|
||||
}
|
||||
processTooltip();
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
18
Frontend/assets/scripts/tools/xsd.js
Normal file
18
Frontend/assets/scripts/tools/xsd.js
Normal file
@@ -0,0 +1,18 @@
|
||||
function init() {
|
||||
//Handle clicks in whole form and set info in tooltip
|
||||
setDefaultContent(document.getElementById("xmlArea"), 'Insert XML here');
|
||||
setDefaultContent(document.getElementById("transformArea"), 'Insert XSD here');
|
||||
console.log("init");
|
||||
// refreshTooltip();
|
||||
processTooltip();
|
||||
tool.addEventListener('click', event => {
|
||||
//Check if script was called from textarea or selector
|
||||
var targetID = event.target.getAttribute('id');
|
||||
if (targetID !== "processors" && targetID !== "xmlArea" && targetID !== "transformArea" && targetID !== "versions") {
|
||||
return;
|
||||
}
|
||||
|
||||
processTooltip();
|
||||
// console.log("clock");
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user