Merge remote-tracking branch 'cover-series/feature/add-cover-serie-view' into Develop

# Conflicts:
#	cps/static/css/style.css
#	cps/ub.py
#	cps/web.py
This commit is contained in:
Ozzieisaacs
2020-05-01 17:25:13 +02:00
10 changed files with 198 additions and 17 deletions
+13
View File
@@ -323,4 +323,17 @@ $(function() {
$(".discover .row").isotope("layout");
});
$(".update-view").click(function(e) {
var target = $(this).data("target");
var view = $(this).data("view");
e.preventDefault();
e.stopPropagation();
var data = {};
data[target] = view;
console.debug("Updating view data: ", data);
$.post( "/ajax/view", data).done(function( ) {
location.reload();
});
});
});