Commit 8030c295 authored by Rafael Monnerat's avatar Rafael Monnerat Committed by Eteri

erp5_configurator: jslint the old js code...

parent b83bd559
displayMessage = function () { /*jslint browser:true */
wizard_message = document.getElementById('wizard_message'); function displayMessage() {
wizard_message.style.visibility = 'visible'; "use strict";
if (!/MSIE/.test(navigator.userAgent)) { var wizard_message = document.getElementById("wizard_message");
if (scrapeText(wizard_message) == 'true') { wizard_message.style.visibility = "visible";
wizard_message.innerHTML = '<a href="next">Please click here to access ERP5 Express Configuration service.</a>'; if (!(/MSIE/).test(navigator.userAgent)) {
if (scrapeText(wizard_message) === "true") {
wizard_message.innerHTML = "<a href='next'>Please click here to access ERP5 Express Configuration service.</a>";
} else {
wizard_message.innerHTML = "You can not access ERP5 Express Configuration service.";
}
} else { } else {
wizard_message.innerHTML = 'You can not access ERP5 Express Configuration service.'; wizard_message.innerHTML = "<a href='http://www.mozilla.com/firefox/'>Please click here to download Firefox, because your browser may not work properly. It is free.</a>";
} }
} else {
wizard_message.innerHTML = '<a href="http://www.mozilla.com/firefox/">Please click here to download Firefox, because your browser may not work properly. It is free.</a>';
}
} }
addLoadEvent(displayMessage); addLoadEvent(displayMessage);
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment