Skip to content

Commit

Permalink
Fix formating
Browse files Browse the repository at this point in the history
  • Loading branch information
Antoniafriedrich committed Oct 14, 2024
1 parent 022f5a8 commit 55595fa
Showing 1 changed file with 5 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -233,8 +233,7 @@ $(document).ready(function () {
});
return process(list);
}, "select", "mods.title:*" + query + "*", "0");
},
updater: function (item) {
}, updater: function (item) {
$("#main_right_content").empty();
sortType = "";
loadPublikation(leftContent, "select", "id:" + item.id, "0");
Expand All @@ -244,9 +243,7 @@ $(document).ready(function () {
loadPublikation(rightContent, "receive", item.id, "");
activateSendButton(item.id);
return item;
},
items: 10,
autoSelect: false
}, items: 10, autoSelect: false
});

$("#modal-searchInput button").unbind().click(function (event) {
Expand Down Expand Up @@ -303,13 +300,9 @@ $(document).ready(function () {
break;
}
$.ajax({
url: webApplicationBaseURL + url,
type: "GET",
dataType: dataType,
success: function (data) {
url: webApplicationBaseURL + url, type: "GET", dataType: dataType, success: function (data) {
callback(data);
},
error: function (error) {
}, error: function (error) {
console.log("Failed to load " + webApplicationBaseURL + url);
console.log(error);
}
Expand All @@ -319,9 +312,7 @@ $(document).ready(function () {
function loadGenres(callback) {
if (!webApplicationBaseURL) console.log("Error: webApplicationBaseURL not set");
$.ajax({
method: "GET",
url: webApplicationBaseURL + "api/v1/classifications/mir_genres",
dataType: "xml"
method: "GET", url: webApplicationBaseURL + "api/v1/classifications/mir_genres", dataType: "xml"
}).done(function (xml) {
GenreXML = xml;
callback();
Expand Down

0 comments on commit 55595fa

Please sign in to comment.