Changeset f25e8dd in Git for target/classes/static
- Timestamp:
- 02/05/22 22:48:19 (3 years ago)
- Branches:
- main
- Children:
- 2efe93e
- Parents:
- 5b447b0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
target/classes/static/js/sharedScript.js
r5b447b0 rf25e8dd 4 4 var elements = $(".elements") 5 5 var elementGrade; 6 6 7 7 8 $("#dialog-rating").dialog({ … … 145 146 let movieId=$(button).attr("movie-id") 146 147 if (type==='like') { 147 $(button).parent().append("<a class='btn btn- primarybutton-remove-favourite-list' movie-id=" + movieId + " user-id=" + userId + ">Избриши од омилена листа</a>")148 $(button).parent().append("<a class='btn btn-warning button-remove-favourite-list' movie-id=" + movieId + " user-id=" + userId + ">Избриши од омилена листа</a>") 148 149 console.log("da") 149 150 } 150 151 else{ 151 $(button).parent().append("<a class='btn btn- primarybutton-add-favourite-list' movie-id=" + movieId + " user-id=" + userId + ">Додади во омилена листа</a>")152 $(button).parent().append("<a class='btn btn-success button-add-favourite-list' movie-id=" + movieId + " user-id=" + userId + ">Додади во омилена листа</a>") 152 153 153 154 }
Note:
See TracChangeset
for help on using the changeset viewer.