Commit e9e7aae5 authored by OJ Random's avatar OJ Random

issue8 description for observer to delete the learn result

parent 70c2fe76
......@@ -1862,7 +1862,11 @@ function createBoxList(boxes) {
html += ' ' + description + '';
html += ' <br><b>Size: </b>' + cloudBox["size"] + '';
if(cloudBox["boxID"] !== box.content.boxID) {
html += ' &nbsp;<b>Delete box: </b>&nbsp;';
if(is_owner) {
html += ' &nbsp;<b>Delete box: </b>&nbsp;';
} else {
html += ' &nbsp;<b>Delete learn results: </b>&nbsp;';
}
html += ' <i class="fa fa-trash" id="link_delete_box" boxid="' + cloudBox["boxID"] + '" title_box_delete="' + cloudBox["title"] + '"></i>';
}
html += '</div>';
......
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