bema/fix/bugs_#35 #85
@@ -13,7 +13,12 @@ function clearDefaultContent(element, text) {
|
|||||||
|
|
||||||
function clearDataField(){
|
function clearDataField(){
|
||||||
document.getElementById("xmlArea").value = "";
|
document.getElementById("xmlArea").value = "";
|
||||||
|
document.getElementById("xmlArea").style.color = null;
|
||||||
|
document.getElementById("xmlArea").style.backgroundColor = null;
|
||||||
|
|
||||||
document.getElementById("transformArea").value = "";
|
document.getElementById("transformArea").value = "";
|
||||||
|
document.getElementById("transformArea").style.color = null;
|
||||||
|
document.getElementById("transformArea").style.backgroundColor = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
function fillDefaultXML(element) {
|
function fillDefaultXML(element) {
|
||||||
@@ -29,7 +34,7 @@ function fillDefaultXML(element) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//Set default text in grey
|
//Set default text in grey
|
||||||
function setDefaultContent(element, text) {
|
function setDefaultContent(element, text) {6543
|
||||||
if (element.value == "") {
|
if (element.value == "") {
|
||||||
var id = element.getAttribute('id');
|
var id = element.getAttribute('id');
|
||||||
if (!defaultStrings.includes(text)) {
|
if (!defaultStrings.includes(text)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user