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

erp5_configurator: jslint the old js code...

parent b83bd559
displayMessage = function () {
wizard_message = document.getElementById('wizard_message');
wizard_message.style.visibility = 'visible';
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>';
/*jslint browser:true */
function displayMessage() {
"use strict";
var wizard_message = document.getElementById("wizard_message");
wizard_message.style.visibility = "visible";
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 {
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