Skip to content

Commit

Permalink
finish review double images
Browse files Browse the repository at this point in the history
  • Loading branch information
huntertran authored Jul 6, 2021
1 parent d135489 commit 3caac1e
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 8 additions & 1 deletion docs/secos/iot/apache/scripts/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,14 @@ var wordcloud = {
wordcloud_fullsize.setAttribute('class', 'show');
},

resetImageReview: function() {
wordcloud.setFullsizeImageForReview('./images/legends/placeholder.png', 'selected-wordcloud');
wordcloud.setFullsizeImageForReview('./images/legends/placeholder.png', 'selected-wordcloud-2');
wordcloud.reviewStatus = 0;
},

closeFullSizeImageButtonClicked: function () {
wordcloud.resetImageReview();
let wordcloud_fullsize = document.getElementById('wordcloud-fullsize');
wordcloud_fullsize.setAttribute('class', 'hide');
},
Expand Down Expand Up @@ -197,7 +204,7 @@ var wordcloud = {
);

wordcloud.addButtonClickEvent();
// wordcloud.addEventHandlers();
wordcloud.resetImageReview();
}
}

Expand Down
10 changes: 8 additions & 2 deletions docs/secos/iot/eclipse/scripts/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -169,9 +169,14 @@ var wordcloud = {
wordcloud_fullsize.setAttribute('class', 'show');
},

resetImageReview: function() {
wordcloud.setFullsizeImageForReview('./images/legends/placeholder.png', 'selected-wordcloud');
wordcloud.setFullsizeImageForReview('./images/legends/placeholder.png', 'selected-wordcloud-2');
wordcloud.reviewStatus = 0;
},

closeFullSizeImageButtonClicked: function() {
wordcloud.setFullsizeImageForReview('./secos/iot/eclipse/images/legends/drag.png', 'selected-wordcloud');
wordcloud.setFullsizeImageForReview('./secos/iot/eclipse/images/legends/drag.png', 'selected-wordcloud-2');
wordcloud.resetImageReview();
let wordcloud_fullsize = document.getElementById('wordcloud-fullsize');
wordcloud_fullsize.setAttribute('class','hide');
},
Expand Down Expand Up @@ -201,6 +206,7 @@ var wordcloud = {
);

wordcloud.addButtonClickEvent();
wordcloud.resetImageReview();
}
}

Expand Down

0 comments on commit 3caac1e

Please sign in to comment.