Commit 5b41d1be authored by System Administrator's avatar System Administrator

[etersoft] Cherry-pick ceb8eb57

parent dd0a538e
......@@ -256,7 +256,26 @@ window.addEventListener("load", function() {
}
<<<<<<< HEAD
<<<<<<< HEAD
const timespentValue = getTimespentValue();
=======
if (!isworker()) {
const comment = document.querySelector('#comment').value.length;
if (!comment) {
alert('Поле комментария не может быть пустым!');
return
}
const bugForm = etersoft_create === 1 ? "#Create" : "#changeform";
document.querySelector(bugForm).submit();
return
}
let timespentValue = getTimespentValue();
>>>>>>> ceb8eb579 (Fix timer.js: add ability for bug creating for non @etersoft.ru users)
dialog.style.display = "block";
......
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